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. Because I saw a @codepen demo creating a hex grid using my well over a decade old nested and reverted transforms technique to get the shape + MQs...

    Here's a super simple modern #CSS grid + clip-path + mathematical functions responsive version with no breakpoints codepen.io/thebabydino/pen/QwW

    #cssLayout #cssGrid #clipPath #hexagon #cssMaths #containerQueryUnits #code #cssVariables #coding #frontend #webDev #web #dev #webDevelopment

  4. Because this quick @codepen thing I made is getting hearted for some reason... corner grid item with inner corner rounding and text wrapping around the corner

    codepen.io/thebabydino/pen/LEY

    Some grid + shape-outside + container query units #CSS magic + #SVG #filter magic.

    ¯\_(ツ)_/¯

    #cssLayout #cssGrid #code #coding #web #dev #webDev #webDevelopment #frontend #containerQueryUnits #frontend

  5. Here's a little thing I made for the 1st #CodePenChallenge of '25: pure #CSS tilt & zoom grid on scroll!

    Check it out on @codepen

    codepen.io/thebabydino/pen/jEN

    Using pure CSS scroll driven animations, grid, variables, mathematical functions, container query units. Also uses an SVG filter for the dissolve effect.

    Chromium only.

    #scroll #scrollAnimation #cssVariables #cssGrid #cssLayout #cssMaths #containerQueryUnits #svgFilter #SVG #filter #code #coding #frontend #webDev #webDEvelopment #web #dev

  6. Here's a little thing I made for the 1st #CodePenChallenge of '25: pure #CSS tilt & zoom grid on scroll!

    Check it out on @codepen

    codepen.io/thebabydino/pen/jEN

    Using pure CSS scroll driven animations, grid, variables, mathematical functions, container query units. Also uses an SVG filter for the dissolve effect.

    Chromium only.

    #scroll #scrollAnimation #cssVariables #cssGrid #cssLayout #cssMaths #containerQueryUnits #svgFilter #SVG #filter #code #coding #frontend #webDev #webDEvelopment #web #dev

  7. Here's a little thing I made for the 1st #CodePenChallenge of '25: pure #CSS tilt & zoom grid on scroll!

    Check it out on @codepen

    codepen.io/thebabydino/pen/jEN

    Using pure CSS scroll driven animations, grid, variables, mathematical functions, container query units. Also uses an SVG filter for the dissolve effect.

    Chromium only.

    #scroll #scrollAnimation #cssVariables #cssGrid #cssLayout #cssMaths #containerQueryUnits #svgFilter #SVG #filter #code #coding #frontend #webDev #webDEvelopment #web #dev

  8. Here's a little thing I made for the 1st #CodePenChallenge of '25: pure #CSS tilt & zoom grid on scroll!

    Check it out on @codepen

    codepen.io/thebabydino/pen/jEN

    Using pure CSS scroll driven animations, grid, variables, mathematical functions, container query units. Also uses an SVG filter for the dissolve effect.

    Chromium only.

    #scroll #scrollAnimation #cssVariables #cssGrid #cssLayout #cssMaths #containerQueryUnits #svgFilter #SVG #filter #code #coding #frontend #webDev #webDEvelopment #web #dev

  9. Here's a little thing I made for the 1st #CodePenChallenge of '25: pure #CSS tilt & zoom grid on scroll!

    Check it out on @codepen

    codepen.io/thebabydino/pen/jEN

    Using pure CSS scroll driven animations, grid, variables, mathematical functions, container query units. Also uses an SVG filter for the dissolve effect.

    Chromium only.

    #scroll #scrollAnimation #cssVariables #cssGrid #cssLayout #cssMaths #containerQueryUnits #svgFilter #SVG #filter #code #coding #frontend #webDev #webDEvelopment #web #dev

  10. #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

  11. #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