forest icon indicating copy to clipboard operation
forest copied to clipboard

Using * selector

Open statianzo opened this issue 8 years ago • 1 comments

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.

statianzo avatar Feb 05 '17 05:02 statianzo

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.

mhallin avatar Feb 13 '17 20:02 mhallin