Re:CSS is powerful, you can do a lot of things without JS
by zuxfer on Tuesday July 05, 2016 @08:38AM
(#12035938)
And here I am, trying for past 10 years to centre align a div, both horizontally and vertically.
[ Parent
| on HN ]
Re:CSS is powerful, you can do a lot of things without JS
by yoz-y on Tuesday July 05, 2016 @08:52AM
(#12036020)
You probably already know this but just in case: https://philipwalton.github.io/solved-by-flexbox/demos/verti...
Re:CSS is powerful, you can do a lot of things without JS
by afarrell on Tuesday July 05, 2016 @10:18AM
(#12036569)
Yea, I share your pain. However, for this specific problem, you are best off using flexbox because there is a good tutorial for it: http://flexboxfroggy.com/
Re:CSS is powerful, you can do a lot of things without JS
by talmand on Tuesday July 05, 2016 @10:52AM
(#12036820)
That joke is too old, there are new things to mock CSS over these days.