Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with content, and download exclusive resources. Stefania Chaplin explains how to integrate ...
You can optionally name containers using a @container/{name} class, and then include that name in the container variants using classes like @lg/{name}:underline: @xs @container (min-width: 20rem /* ...
Proposal: Add a new container-var() function for retrieving the values from the closest named container. Basically, the same as var() but with an additional first parameter for the container's name.