css - Adding a character after the first element of a list -
i have wordpress list 2 elements , add simple character, "-" after first element of such list. possible pseudo-elements in css?
what i'd need tell css add :after :first-child of list.
is @ possible?
thanks in advance!
alex
it's possible in css:
li:first-child::after { content: "-" }
Comments
Post a Comment