M
M
MRcracker2018-03-31 00:08:22
css
MRcracker, 2018-03-31 00:08:22

How to disable the font icon for the last element?

Connected font icons fontawesome. They were included for the bulleted list via css i.e. the after property was set to content '\f105'/.
How to disable the icon for the last element of the list?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Shvets, 2018-03-31
@MRcracker

li:last-child:after { content: ''}
or better or just
li:last-child:after { display: none }

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question