D
D
Denis2016-01-06 16:20:24
css
Denis, 2016-01-06 16:20:24

How to "translate" this sass code to css?

sass: &.skill-8 span:nth-child(...)
Help translate to css language)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nicholas, 2016-01-06
@Slash2018

You didn't copy the top level.
& - means that the selector is added to the selector one level higher.
those.:

.foo {
    &.bar {
    }
}

Gives .foo.bar
Well, everything else - the usual css.

C
Cat Anton, 2016-01-06
@27cm

www.sassmeister.com

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question