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

Popular posts from this blog

php - How can I edit my code to echo the data of child's element where my search term was found in, in XMLReader? -

javascript - Iterate over array and calculate average values of array-parts -

jQuery Ajax Render Fragments OR Whole Page -