ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

Using Container Query Units Relative to an Outer Container Container units (e.g. cqi) are only able to reference the closest container. But if you register a custom property and set that higher up, you can get your hands on other containers units.

May 7, 2025, 7:39 AM

{
  "text": "Using Container Query Units Relative to an Outer Container \n\nContainer units (e.g. cqi) are only able to reference the closest container. But if you register a custom property and set that higher up, you can get your hands on other containers units.",
  "$type": "app.bsky.feed.post",
  "embed": {
    "$type": "app.bsky.embed.external",
    "external": {
      "uri": "https://frontendmasters.com/blog/using-container-query-units-relative-to-an-outer-container",
      "thumb": {
        "$type": "blob",
        "ref": {
          "$link": "bafkreidxc3fiklpq2z5yctr7qmbh4rarspkimq2jraozv3paj7y3yj44h4"
        },
        "mimeType": "image/jpeg",
        "size": 13987
      },
      "title": "Using Container Query Units Relative to an Outer Container",
      "description": "Container units (e.g. cqi) are only able to reference the closest container. But if you register a custom property and set that higher up, you can get your hands on other containers units."
    }
  },
  "createdAt": "2025-05-07T07:39:07.802Z"
}