Re:Stepping Away from Sass
by Raphmedia on Friday April 26, 2019 @09:35AM
(#19757260)
When we are talking about nesting we are not talking about generating `.page #left-section .box .button {}`... This would be bad. Nesting used properly is something like `.myWidget .button, .myWidget .title, .myWidget .main-section {}`. You can then move .myWidget anywhere you want and the styles would follow.
[ Parent
| on HN ]
There are no comments on this comment yet.