Streaming live at 10am (PST)

How to add the line by :before and :after in Webflow

Hi, everybody.

I would like to be able to add a horizontal line by using ::before or ::after selector, but I have no idea what the “content” value should be?

.classname::before { content: "???"; }

Thank you!

Hey there! Just set content to ‘’

.classname::before{ content: ''; height: 1px; width: 100%; color: black;}

Great, thank you! :grinning: