andrei_says_ 6 days ago

Also CSS! CSS grid, :has(), custom properties and improved browser compatibility. CSS is an amazingly powerful and beautiful language.

Embrace the cascade - check out ITCSS methodology.

Fluid typography and spacing - https://utopia.fyi

4
simonw 6 days ago

That CSS Minecraft demo from last week was such a beautiful example of how much you can do with `:has()` these days: https://news.ycombinator.com/item?id=44100148

john_the_writer 6 days ago

100%.. tailwinds is a trendy way of adding inline style. I mean it's literally a 1 to 1 translation in most cases. I miss when css was css.

satvikpendem 6 days ago

Now get ready for if() coming soon, then we won't need JS at all, it'll all be Turing complete in HTML and CSS only.

jacques_chester 6 days ago

Grids! I knew I forgot something in my list. Updated.