DEV Community

Discussion on: My favourite line of CSS

Collapse
thedamon profile image
Damon Muma Author

This is grid (one of its many possible configurations at least). I should have called out the needed accompanying ‘display: grid’ (it’s hidden in the codepen)

Collapse
bayuangora profile image
Bayu Angora

Oh, I see. By the way, using var on grid (and another style value) can't be rendered by Opera Mini with extreme mode, isn't it?

Thread Thread
thedamon profile image
Damon Muma Author

min() is quite new and only in evergreen browsers.
Grid-auto-columns is not in IE but is in Opera Mobile. To be honest I’ve never tested in opera mini, but this could degrade pretty gracefully with a simpler fallback grid.