T
T
timtimIT2015-06-24 13:03:23
css
timtimIT, 2015-06-24 13:03:23

Hello! How to set pseudo-elements on descendants in scss?

Hello! How to set pseudo-elements on descendants in scss? The fact is that if you write the :last-child pseudo-element, then the brackets {} do not work, that is, ul { .... li:last-child {} } , the brackets do not work for li:last-child.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey B., 2015-06-24
@andykov

Post a piece of code, because this can not be.
codepen.io/anon/pen/qdVVQZ as you can see everything works

R
rhost, 2015-06-24
@hoOstel

codepen.io/anon/pen/ZGavGz

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question