CSS Container Queries in Web Components
1–10 of 78 posts
Re: CSS Container Queries in Web Components
#2Re: CSS Container Queries in Web Components
#3I've picked up css after ~5 years and I can't believe how far it's come. Flexbox, grid, `clamp()`, content queries, etc. It's a complete different experience now compared to the days of css hacks.
Ever since the wide adoption of stuff like flexbox and grid I haven't dared to complain about not getting stuff to work.
Re: CSS Container Queries in Web Components
#4Why can't we have templates, custom elements and scoped CSS without JS?
Re: CSS Container Queries in Web Components
#5I always wondered about custom 'web components'. Is it safe to do something like this? -->
red{color:red}
I should be red
It works in latest Firefox. It feels weird being able to create arbitrary custom elements like that!Re: CSS Container Queries in Web Components
#6I've picked up css after ~5 years and I can't believe how far it's come. Flexbox, grid, `clamp()`, content queries, etc. It's a complete different experience now compared to the days of css hacks.
Every time I hear someone complain about CSS I just know they've never used it in the IE6/7 days. Good lord, the amount of hacks, shims, fallbacks, polyfill, obscure stuff you had to do to make it work in IE6, IE7, and my absolute favourite(!) the IE7 compatibility mode which was like IE6 but not quite! Ever since the wide adoption of stuff like flexbox and grid I haven't dared to complain about not getting stuff to…
There it’s fixed
Re: CSS Container Queries in Web Components
#7> Each of these books is a custom element, or “web component”. I always wondered about custom 'web components'. Is it safe to do something like this? --> red{color:red} I should be red It works in latest Firefox. It feels weird being able to create arbitrary custom elements like that!
Re: CSS Container Queries in Web Components
#8I've picked up css after ~5 years and I can't believe how far it's come. Flexbox, grid, `clamp()`, content queries, etc. It's a complete different experience now compared to the days of css hacks.
Every time I hear someone complain about CSS I just know they've never used it in the IE6/7 days. Good lord, the amount of hacks, shims, fallbacks, polyfill, obscure stuff you had to do to make it work in IE6, IE7, and my absolute favourite(!) the IE7 compatibility mode which was like IE6 but not quite! Ever since the wide adoption of stuff like flexbox and grid I haven't dared to complain about not getting stuff to…
Re: CSS Container Queries in Web Components
#9I keep having mixed feelings about web components... Why can't we have templates, custom elements and scoped CSS without JS?
Re: CSS Container Queries in Web Components
#10> Each of these books is a custom element, or “web component”. I always wondered about custom 'web components'. Is it safe to do something like this? --> red{color:red} I should be red It works in latest Firefox. It feels weird being able to create arbitrary custom elements like that!
IIRC that's a Firefox quirk and doesn't work in every browser.