forest
forest copied to clipboard
Using * selector
How would I create the css rule * {box-sizing: border-box;}?
I've tried [:* {:box-sizing "border-box"}], but I receive an invalid selector error. I understand forest discourages global/descendant selectors, but this is a case where I'd prefer not to add it to every individual selector if possible.
This is definitely a limitation in the parser that we can fix. Personally, I've been including site-global styles such as CSS reset or normalization directly in the HTML template as style tags.