Home › Forums › CSS › understanding [class*="content"]:before › Reply To: understanding [class*="content"]:before
August 6, 2013 at 9:39 pm
#145914
Tom Houy
Participant
You can use the :before and :after selectors to append additional content to your existing content via CSS.
Something such as:
p:before
{
content:”» “;
}
Would append a “» ” before every paragraph. You could also use it to add things such as icons before or after some content, for example.