Hacker News new | ask | show | jobs
by Brendinooo 1757 days ago
Was just thinking about this the other day. Once aspect-ratio gets Safari support, that will take away the need for the height:0/padding-bottom: 66% thing, which is one of the last hacky bits of CSS that I use regularly. Container queries will fill another huge hole, but I don't polyfill/do hacky things for that in the meantime.

CSS really does do pretty much everything you need these days.