Simple responsive layout as 2 lines of css – literary!

During one of my nostalgic attacks (when I love to read about technology that is no longer in use VHS, ZIP drives…) I came across article on Css-Tricks about Fixed Table Layouts I came across comment which suggested that @chrisnager created Responsive Grid system with this technique called Ungrid.

Went there and WHAAAT? 2 lines!? Genial!

@media (min-width: 30em) {
    .row { width: 100%; display: table; table-layout: fixed; }
    .col { display: table-cell; }
}

Details:

July 10, 2014
Categories:
Uncategorized

Recent Comments

    Archives

    Categories