Grid Style Sheets – CSS polyfills from the future
Report a link problem
Submission timeline
2007–2026One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.
First comments on top threads
HN comment orderIf this is what I think it is (a new layout engine that runs in JavaScript, so that CSS is used just for styling, not layout), it is what I've been waiting YEARS for. Unfortunately, the site is deafeningly silent on specifics. What browsers does it support? Is there any kind of tutorial for getting started? When would this be appropriate to use, and when not? What is performance like with rendering times, both on desktop and mobile? Window resizing?…
As GUI dev who worked with Apple's AutoLayout extensively I can confidently say constraint-based layout is a trap. It looks like more intuitive way to go on simple examples, but complexity spikes quickly as number of controls goes up. It's more complicated, more resilient to changes (harder to maintain), easy to get wrong, hard to understand and debug, bugs generally look uglier (what would be minor misplacement in CSS often becomes overlapping or clipping). It does not support word wrapping…
Can someone explain to me what this is good for in real deployment scenarios? I'm moderately experience with front and back-end stacks, but have little understanding what this is about.
Very interesting css preprocessor/layout engine combination, kudos 1999. Many people annoyed with css might love this quite a bit. I wonder about the performance implications. The layout engine obviously has to run in javascript and thus it will result in a slower startup time (gss has to parse the logic) and the layout itself will be obviously slower than "native css".
The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.
- Breakout years
- 2
- Total points
- 456
- Total comments
- 195
100+ points or 50+ comments
reference only — not used in Hall rules or ranking
reference only — not used in Hall rules or ranking
Every submission
| Date | Title as submitted | By | Points | Comments |
|---|---|---|---|---|
| 2014-01-07 | Constraint-Driven CSS | DomKM | 11 | 0 |
| 2014-02-25 | Grid Style Sheets | jashkenas | 10 | 2 |
| 2014-03-06 | Grid Style Sheets – CSS polyfills from the futureFirst breakout · Best thread | Brajeshwar | 225 | 96 |
| 2014-09-25 | Grid Style Sheets (GSS) | afhammad | 7 | 1 |
| 2015-06-08 | Grid Style Sheets – Replace CSS with a Constraint-SolverLatest 20+ point return | aeontech | 199 | 96 |
| 2016-01-28 | Grid Style Sheets: constraint-based CSS polyfills from the future | jitl | 4 | 0 |