The Future of CSS
Web page · https://joshwcomeau.com/css/interop-2027
First seen by Oriel on .
AI summary
Josh W. Comeau previews CSS features proposed for Interop 2027, arguing that broader browser support could make more expressive layouts, animations, and accessible responsive interfaces practical.
- CSS @function would let authors define reusable functions, including one that converts polar coordinates into a translate() value; it is implemented in Chromium browsers but not Firefox or Safari.
- corner-shape and border-shape offer alternative corners and custom borders, with shapes that affect the border box so borders, outlines, and shadows follow them.
- Proposed container queries could detect anchor-positioning fallbacks and scroll states, while reading-flow and reading-order could align keyboard navigation with visual layouts.
- interpolate-size and calc-size() enable transitions involving keyword sizes such as auto, while gap decorations add border-like rules between CSS Grid tracks.
- The author recommends progressive enhancement for several features and says developers may need to guide LLMs toward modern CSS because their training data can lag behind current capabilities.
#css #interop #browser compatibility #web accessibility
Generated by gpt-5.6-sol. Check the original for details.
Metric trends
Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained
Points
Score reported by the source.
- Hacker News: 616, latest observation ; +606 over observed period since
- Lobsters: 65, latest observation ; +64 over observed period since
Comments
Comment count reported by the source.
- Hacker News: 275, latest observation ; +275 over observed period since
- Lobsters: 8, latest observation ; +8 over observed period since
Aliases
| Source | External ID | URL |
|---|---|---|
| Hacker News | 50175070 | https://www.joshwcomeau.com/css/interop-2027/ Read discussion |
| Lobsters | vidyh0 | https://www.joshwcomeau.com/css/interop-2027/ Read discussion |