terribleMia’s avatarterribleMia’s Twitter Archive—№ 10,448

    1. I wrote an article about CSS feature queries, what happens when we add new syntax to the @-supports rule, and anyway: what is the opposite of an unknown? I hope you find it useful, or at least a bit trippy and fun: oddbird.net/2021/05/14/support-unknown/
  1. …in reply to @TerribleMia
    The important takeaway here for Container Queries is that we're adding a test, to provide fallbacks: @/supports not container(<query>) { … } But for backwards compatibility early on, you'll want to wrap that in extra parentheses: @/supports not (container(<query>)) { … }
    1. …in reply to @TerribleMia
      (This is not yet supported in the Chrome prototype, the CSSWG just resolved to add it this week. It will be supported by the time the feature goes live.)