-
-
Save aoeuidht/9048023 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
.big-wrapper | |
.notice | |
pre | |
code vertical-align: middle | |
br | |
| for IE 7+ | |
style | |
:stylus | |
.big-wrapper | |
margin auto | |
width 100% | |
height 100% | |
outline 1px solid skyblue | |
background-color #f8f8f8 | |
color #333 | |
text-align center | |
&:before | |
display inline-block | |
height 100% | |
vertical-align middle | |
content '\0020' | |
.notice | |
display inline-block | |
vertical-align middle | |
width 200px | |
background-color rgba(0, 0, 0, .88) | |
padding 10px | |
color #f8f8f8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
to vertical algin an unknown element.