DEV Community

Discussion on: 4 Things I Learned From Building My First Site Solo

Collapse
 
zkriszti profile image
Krisztina Závecz

As for vertical alignment, if you do not need to support old browsers, flexbox will be your savior. :) Also there is a really useful post on css-tricks.com about centering (either vertically or horizontally) which will show you handy alternatives in case you can't use flex. Google "css-tricks.com centering", it should be among the first few results.

Collapse
 
clairemuller profile image
Claire Muller

Thanks so much, I'll check that out!

Collapse
 
flrnd profile image
Florian Rand

Also, about css-tricks, this is gold: css-tricks.com/snippets/css/a-guid...

Thread Thread
 
clairemuller profile image
Claire Muller

This looks like a great resource, thanks!

Thread Thread
 
simonhaisz profile image
simonhaisz

I've used that guide so much at work that when I type 'fl' into my browser that's the first suggestion in the list.

Thread Thread
 
chiangs profile image
Stephen Chiang

Checkout flexbox zombies... A fun way to learn flexbox.

Thread Thread
 
zkriszti profile image
Krisztina Závecz

LOL, same here with the CSS-tricks flexbox guide 😁😁

Thread Thread
 
jamiekaren profile image
Jamie Ferrugiaro

You had me at zombies...

Collapse
 
zkriszti profile image
Krisztina Závecz

also, when you have the basics in place, you can check out flexbox froggy to have some fun & put your understanding to the test :)