Created
May 15, 2016 07:34
-
-
Save cubicleDowns/60920fb09f6b8346362abc76b35a0bf9 to your computer and use it in GitHub Desktop.
Center everything CSS / HTML.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// http://howtocenterincss.com/#contentType=div&horizontal=center&vertical=middle&browser.IE=11 | |
<div style="display:flex;justify-content:center;align-items:center;"> | |
<div></div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment