7.96K Posts, 279 Following, 5.22K Followers · Topics: #JavaScript #TypeScript #fedi22 Other interests: – Languages: German, English, French, Spanish, Dutch, Mandarin – Sustainability, degrowth, permaculture, urbanism – Tiny houses – Education – Psychology, getting out of one’s head, heart-centered living – Minimalist spirituality: Advaita, Daoism, Buddhism, Christian mysticism, J. Krishnamurti, … I live in Munich. http://pronoun.is/he Non-tech: – :pixelfed: Photos: @rauschm...| Fosstodon
• JavaScript, TypeScript, web development • Blog: https://2ality.com My main account is on Mastodon (you can follow via RSS): https://fosstodon.org/@rauschma| Bluesky Social
It’s been a couple of years since container queries started landing in browsers… so why isn’t anyone using them? It turns out that container queries are kinda tricky; they’re not as straightforward as media queries. In this tutorial, we’ll break it all down and make sense of them, so that you can start using them in your work.| Josh Comeau's blog
The main idea of CSS Container Queries is to register an element as a “container” and apply styles to other elements when the container element meets certain conditions.| CSS-Tricks