terribleMia’s avatarterribleMia’s Twitter Archive—№ 9,724

    1. …in reply to @dyoder
      dyoder stubbornella thejase csswg While there has been talk of adding "custom media queries" like this - that codepen link is a Javascript polyfil, not valid CSS. It's not possible to give media queries access to existing custom properties, because variables are not resolved until after the queries are applied.
  1. …in reply to @TerribleMia
    dyoder stubbornella thejase csswg But things are a bit different with container queries… which resolve based on actual computed values on an actual element… I'm also curious if that would make it possible to support queries against the resolved value of a var on the container. Still exploring that!