home.social

#containerqueryunits — Public Fediverse posts

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

  1. Wake up, wake up, wake up!

    If you're a Cheetah+ supporter on Ko-fi or Patreon, then first of all thank you 🙏 and second, I've just published a massive post about an improved technique for flexible irregular shapes.

    ❇️ ko-fi.com/post/New-year-new-te

    ❇️ patreon.com/posts/new-year-new

    #CSS #SVG #filter #cssGrid #cssLayout #cssSubgrid #containerQueryUnits #code #container #svgFilter #coding #frontend #web #dev #webDev #webDevelopment

  2. Haven't been posting much coding stuff this past week as I've found it difficult to focus on it given the state of things in my country 😞

    But... I have a new article out!

    Using Container Query Units Relative to an Outer Container frontendmasters.com/blog/using

    Sparked by a question @mattwilcox asked here.

    #CSS #containerQuery #frontend #coding #web #dev #webDev #webDevelopment #code #containerQueryUnits

  3. #tinyCSStip

    Pretty sure I've posted about this before, but a quick search at the morning hours didn't find it, plus I saw someone ask about it yet again¹, so... fixed aspect-ratio box within variable size container!

    Live on @codepen codepen.io/thebabydino/pen/ogv

    ¹here reddit.com/r/css/comments/1hhf

    #CSS #aspectRatio #code #coding #web #frontend #dev #webDevelopment #webDev #containerQuery #containerQueryUnits #container

  4. #tinyCSStip Container queries on the body? Why, when media queries have better support?

    Well, container queries make it an IF depending on the width of the body's content-box.

    That is, subtracting the scrollbar IF we have one (we can't know).

    **Heavily** commented @codepen demo codepen.io/thebabydino/pen/ZEg

    #CSS #container #containerQuery #layout #cssLayout #grid #cssGrid #frontend #code #web #dev #webDev #webDevelopment #coding #containerQueryUnits