" sign in SASS?" />
A
A
Arthur2015-10-16 11:50:00
Sass
Arthur, 2015-10-16 11:50:00

How to nest classes through the ">" sign in SASS?

There is such a nesting in scss:

parent {
/*...styles...*/
   child {
   /*..styles..*/
   }
}

You need something that compiles parent > child , not parent child. There is a possibility?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2015-10-16
@r3st1k25

parent {
    /*...styles...*/

    > child {
        /*..styles..*/
    }
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question