News for hackers. Stuff that matters.
Re:Old Dogs, New CSS Tricks by 6510 on Monday May 27, 2024 @04:49AM (#40488929)
I just don't use any of the new features until someone complaints about it. If support is there and it doesn't make it impossible to reason about ill adopt it and thank them.

   @container style(color: green) and style(background-color: transparent),
    not style(background-color: red),
    style(--themeBackground),
    style(--themeColor: blue) or style(--themeColor: purple),
    (max-width: 100vw) and style(max-width: 600px) {
  /* <stylesheet> */
  }
It is useful as a selector for people. Best not let that guy anywhere near my code.

There are no comments on this comment yet.