3 ms·
This feels very hacky to me.
by aembleton 12y ago
This feels very hacky to me.
- mistercow 12y agoFor certain connotations of "hacky", sure. But I don't think it's hacky in the sense of being unreliable.
- untog 12y agoWould probably be very simple to turn it into a clean SASS/LESS mixin. Performance I'm less sure about.
- dimlyaware 12y agoI am really curious how this effects performance at the end of the day. It can't be that lightweight if the css is constantly transversing and overwriting itself. Plus as mentioned in other comments, it being cryptic and hard to read makes it difficult to breakdown what its doing without some extensive commenting in place.
- geon 12y agoNot as hacky as using float:left; and overflow:auto; to place block elements in a row. I'd say it is below par.
- pyrocat 12y agoBut that's readable. This isn't.
- grumblestumble 12y agoHow is it readable? It's a well understood convention, sure, but the semantics are completely incorrect. The example in the linked article, by contrast, does exactly what it says. The syntax might be a little odd, but the logic is hardly complicated.