Created
January 21, 2018 19:22
-
-
Save amitozdeol/af14fba0a5fab99a584ea4a4d8de48a0 to your computer and use it in GitHub Desktop.
Vertical align
This file contains hidden or 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
.controller{ | |
clear: both; | |
display: table; | |
} | |
//Everything inside the controller is vertically aligned | |
.controller *{ | |
vertical-align: middle; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment