Created
September 6, 2020 10:46
-
-
Save newtone/c3a91c2c970f0cac73ebe76a25d2f942 to your computer and use it in GitHub Desktop.
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
.parent::before { | |
content: ""; | |
display: inline-block; | |
height: 100%; | |
vertical-align: middle; | |
} | |
.child { | |
display: inline-block; | |
vertical-align: middle; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment