home.social

#containerqueries — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #containerqueries, aggregated by home.social.

  1. Remake of an old, old @codepen animation with 2025 #CSS codepen.io/thebabydino/pen/jOZ

    Now using `conic-gradient()` + `mask` instead of an SVG segments ring image. CSS `grid` for layout. Container query units so ring sizes adapt to number of rings (passed to CSS via a var) & available space. And more, check it out! 🐱

    Original code preserved in Pen description for web history.

    #conicGradient #cssGradient #code #coding #frontend #cssGrid #cssLayout #web #dev #webDev #webDevelopment #containerQueries

  2. I have a new article out on Frontend Masters: Non-Square Image Blur Extensions frontendmasters.com/blog/non-s

    It details the how behind creating the base effect with a single `img` element and only 4 #CSS declarations, then... well, check the article, I promise you'll learn something new!

    #cssGrid #cssLayout #cssFunction #filter #cssFilter #SVG #svgFilter #code #coding #web #dev #webDevelopment #webDev #frontend #containerQueries

  3. I have a new article out on Frontend Masters: Non-Square Image Blur Extensions frontendmasters.com/blog/non-s

    It details the how behind creating the base effect with a single `img` element and only 4 #CSS declarations, then... well, check the article, I promise you'll learn something new!

    #cssGrid #cssLayout #cssFunction #filter #cssFilter #SVG #svgFilter #code #coding #web #dev #webDevelopment #webDev #frontend #containerQueries

  4. I have a new article out on Frontend Masters: Non-Square Image Blur Extensions frontendmasters.com/blog/non-s

    It details the how behind creating the base effect with a single `img` element and only 4 #CSS declarations, then... well, check the article, I promise you'll learn something new!

    #cssGrid #cssLayout #cssFunction #filter #cssFilter #SVG #svgFilter #code #coding #web #dev #webDevelopment #webDev #frontend #containerQueries

  5. I have a new article out on Frontend Masters: Non-Square Image Blur Extensions frontendmasters.com/blog/non-s

    It details the how behind creating the base effect with a single `img` element and only 4 #CSS declarations, then... well, check the article, I promise you'll learn something new!

    #cssGrid #cssLayout #cssFunction #filter #cssFilter #SVG #svgFilter #code #coding #web #dev #webDevelopment #webDev #frontend #containerQueries

  6. I have a new article out on Frontend Masters: Non-Square Image Blur Extensions frontendmasters.com/blog/non-s

    It details the how behind creating the base effect with a single `img` element and only 4 #CSS declarations, then... well, check the article, I promise you'll learn something new!

    #cssGrid #cssLayout #cssFunction #filter #cssFilter #SVG #svgFilter #code #coding #web #dev #webDevelopment #webDev #frontend #containerQueries

  7. I have a new article out!

    Super Simple Full-Bleed & Breakout Styles
    frontendmasters.com/blog/super - my take on an old problem using modern CSS solutions.

    Using a spooky made up Halloween recipe to illustrate concepts.

    PS @chriscoyier told me to be proud of it 😛

    #CSS #cssLayout #cssGrid #cssVariables #containerQueries #containerQuery #code #web #webDev #webDevelopment #dev #coding #frontend #Halloween

  8. “Solved By Modern CSS: Section Layout” by @shadeed9

    🔗 ishadeed.com/article/modern-cs

    > In this article, I took a typical section design and made it more dynamic with container queries, has, clamp, and grid. It’s an example of the potential of modern CSS, and this was just one section.

    Yet another awesome article from Ahmad showing actual useful usage of modern CSS. Let's hope people designing in Figma see this and…

    #CSS #containerQueries

    ⚓️ nicolas-hoizey.com/links/2025/

  9. “Solved By Modern CSS: Section Layout” by @shadeed9

    🔗 ishadeed.com/article/modern-cs

    > In this article, I took a typical section design and made it more dynamic with container queries, has, clamp, and grid. It’s an example of the potential of modern CSS, and this was just one section.

    Yet another awesome article from Ahmad showing actual useful usage of modern CSS. Let's hope people designing in Figma see this and…

    #CSS #containerQueries

    ⚓️ nicolas-hoizey.com/links/2025/

  10. I haven't used style queries much, but just gave them a spin and got an idea (that I've just tested & works) about how we can have ranges in style queries right now. 🥳

    That is, red background if --k <= 20, orange background if 20 < --k <= 40 and so on...

    #CSS #styleQueries #cssVariables #code #coding #frontend #containerQueries #web #dev #webDev #webDevelopment