Martijn Apparently position:relative and overflow:hidden can help browsers render your CSS even faster. I wonder if could implement these without breaking anything. github.com/10up/sa...
Login or register your account to reply
Paulall The ironic part is that (typical) cryptic-css-voodoo-crap is stored in a file labeled sanitize.css.
Martijn I don't think sanitize.css is very cryptic, though they aren't the best documented CSS project either. The HTML5 Boilerplate's CSS is a bit more cryptic, I think. While normalize.css' documentation is superb. Either way, CSS will keep boggling everybody's minds. And welcome to Sublevel! I hope you have given a good look
Paulall Well, I was refering to CSS in a general way, which imho totally failled their original goal of simplificating the desing process of webpages layout. These king of CSS rules make absolutly no sense to me except enforcing the fact that CSS have became the wrong tool and we need to get rid of them.
Mark Dain That's interesting, doesn't most stuff default to position: relative anyway?
Martijn No, position:static is the default. Which is why you can't use top/right/bottom/left without defining position.