Just found out about float: right to align content today (-_-')
Where I always added flex to the parent container. So with float right / center text / margin-left:auto margin-right:auto I guess where all good without flexbox to center items on the y-axis ๐ก๐ค
Just found out about float: right to align content today (-_-')
Where I always added flex to the parent container. So with float right / center text / margin-left:auto margin-right:auto I guess where all good without flexbox to center items on the y-axis ๐ก๐ค
Good luck with that ;)
Thatโs exactly the kind of stuff flex allows you to get away with in an elegant, and most important, a robust way
I think my comment may've came as misleading; Just pointing out few code one-liner centering solutions for single element.
I just can't bare the idea of having overload of errthang "weird flex...but okay" situations where your html is a bloat of nested divs.
Still thanks for the feedback ((:
Wait what? This is how we did things before flexbox and it was a nightmare.