Get the latest tech news

Old dogs, new CSS tricks


A lot of new CSS features have shipped in the last years, but actual usage is still low. One of the biggest barriers: we need to re-wire our own brains.

Prominent voices at conferences and on social media have been talking about the new stuff for quite some time, but real-world usage seems to lag behind a bit. Suddenly, these designs could be achieved by a single line of CSS.Writing border-radius: 8px instead of firing up Photoshop to make a fucking 9-slice image was such a no-brainer that adoption happened very quickly. Of course there are plenty of other use-cases for CQs, but the canonical example in demos is usually still a card component, and people seemed to struggle for a while to find other applications.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of css

css

Photo of new CSS tricks

new CSS tricks

Photo of Old dogs

Old dogs

Related news:

News photo

Animating Ptolemy's Equant with Python, SVG, and CSS

News photo

Matcha.css – Drop-in semantic styling library in pure CSS

News photo

Designing furniture using the CSS grid (2023)