3 ms·
Very interesting approach. One small peeve: this method will not allow you to use Sass/LESS nesting.
by taylorlapeyre 12y ago
Very interesting approach. One small peeve: this method will not allow you to use Sass/LESS nesting.
- masklinn 12y agowhy wouldn't it? Attribute selectors are just selectors. [foo] { color: blue; background-color: pink; .bar .baz { [qux~="ok"] { color: red; } } } compiles to [foo] { color: blue; background-color: pink; } [foo] .bar .baz [qux~="ok"] { color: red; } as I'd expect.
- taylorlapeyre 12y agoOh, lovely! I must have been mistaken then.