Not sure if it’s possible or not but this has been bugging me for a while.
Is it possible in SASS to select multiple direct descendants within a nested block?
// This works
div
{
> .one
{
/* ... */
}
}
// This doesn't work
div
{
> .one,
> .two
{
/* ... */
}
}
It works, you do something wrong. More then, you can look at compiled css here: http://sass-lang.com/try.html , in your case it provides:
So it works.