The Future of CSS(joshwcomeau.com)
601 points by soheilpro 4 days ago | 263 comments
tl;dr: Browser vendors are planning Interop 2027, and Mozilla is letting developers upvote CSS features to prioritize. Top candidates include CSS `@function` definitions, `corner-shape`/`border-shape` for squircles and custom borders, Level 2 Anchor Positioning, scroll-triggered animations, `reading-flow` for accessible tab order, `interpolate-size` for animating to `auto`, gap decorations for grid borders, and sticky/scroll-state container queries. Most are already shipping in Chromium and usable today as progressive enhancements.
HN Discussion:
  • ↑Vanilla CSS has become genuinely enjoyable and powerful to work with today
  • ↓New features add needless complexity and eyecandy while basic UX problems remain unsolved
  • ↓Adding functions/programming constructs to CSS blurs language boundaries and bloats browsers
  • ↑Appreciation for the author and the long effort of pushing CSS improvements forward
  • •Nostalgia for alternative declarative UI approaches (like QML) that could have been