News for hackers. Stuff that matters.
Re:CSS text filling with water by ChikkaChiChi on Tuesday November 12, 2013 @09:27AM (#6717960)
CSS: We'll add 800 edge-case animation effects but fuck you if you want declarative center positioning.
Re:CSS text filling with water by aroman on Tuesday November 12, 2013 @09:33AM (#6717993)
This is pretty much how I feel most of the time. It often seems like simple things are hard and hard things are simple, and even after years and lots of different projects, I still end up playing "guess-and-check" with complicated centering stuff.
Re:CSS text filling with water by lambda on Tuesday November 12, 2013 @11:01AM (#6718503)
Actually, they're working on both. Flexbox[1] and grid layout for better layout, CSS animation for animation and effects.

Flexbox is usable in the latest versions of most browsers today[2]. Here's an example of declarative centering: http://jsfiddle.net/ac4ug/

[1]: https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Flexi... [2]: http://caniuse.com/#feat=flexbox

Re:CSS text filling with water by lbebber on Tuesday November 12, 2013 @09:36AM (#6718014)
Hahahah, very true.