3 ms·
I completely disagree. If CSS were "sealed" it would be absolutely terrible and we'd still be dealing with floats and absolutely positioned elements. The proble
by brigadier132 3y ago
I completely disagree. If CSS were "sealed" it would be absolutely terrible and we'd still be dealing with floats and absolutely positioned elements. The problem with CSS is the weird implicit behavior and edge cases that remain due to compatibility.
Computed properties, custom properties and media queries are well designed.
- philistine 3y agoWhat CSS needs is a refactor. Make a much smaller Strict-CSS that uses the same code paths in browsers, but provides far less options to the user, sticking to modern tools (grid, flex) with simplified naming schemes, while deprecating old ways of doing (float). That would finally allow a manageable mental model.
- gorbypark 3y agoThat’s one of the great things about react native and react native web. It’s like CSS with about 25 years of crud removed. Of course there’s some downsides, but it’s refreshing to use.