Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Why is this child not perfectly centered in Safari 6? Reply To: Why is this child not perfectly centered in Safari 6?

#157260
TheDoc
Member

Possibly more help: http://www.sketchingwithcss.com/samplechapter/cheatsheet.html

Vertical and horizontal centering within a flexcontainer is trivial. Just set justify-content and/or align-items to center. Again, it depends on the orientation of the main axis, so whether flex-direction is set to row or column.

That might be the winner, there!