3 ms·
No you don't. That's just one of several ways you can vertically center something.
by debaserab2 11y ago
No you don't. That's just one of several ways you can vertically center something.
- anonbanker 11y agocan you add to the ones already submitted?
- Raphmedia 11y agoThe bible of CSS centering: https://css-tricks.com/centering-css-complete-guide/ https://css-tricks.com/centering-css-complete-guide/ There is this too: http://willkoehler.net/2014/08/28/vertically-align-content-with-css-using-this-one-weird-trick.html http://willkoehler.net/2014/08/28/vertically-align-content-w... There are a lot of ways, really. As someone who writes CSS daily (css, less and scss), I've yet to understand how some people can have any issues at all with CSS. Sure, it's quirky but you can pretty much master it in a few months at most. (That being said, I make my life a lot more easier by using tools such as autoprefixers, library of mixins that allow me to summon arcane CSS declarations at will, etc.)