A
A
Arthur Levenson2021-07-05 08:06:47
css
Arthur Levenson, 2021-07-05 08:06:47

How to apply styles for the first li?

Tell me how to make sure that the desired styles are set only for the first li

Code example: https://codepen.io/kiskiskit/pen/yLbeBWb

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
A person from Kazakhstan, 2021-07-05
@kiskiskit

li:first-child

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question