CSS Nesting
#1215
Replies: 1 comment 1 reply
-
I'm big on nesting, and think we can use it today in eleventy without issue, but I think we should avoid adding postcss transforms to shadow DOM (except for things like minification) When browsers ship (soon!) We can just add a stylint rule to auto-fix flat->nested |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://caniuse.com/?search=nesting
Should we start looking at adopting? Pros? Cons?
Can always postCSS back to flat syntax as a back fill?
Generally our syntax is pretty terse in ShadowDOM CSS. That said I can see this cleaning up some LightDOM styles for things like
rh-navigation-secondary
Beta Was this translation helpful? Give feedback.
All reactions