Created
March 11, 2019 11:05
-
-
Save IDIDIR/4a8bed715ce0a1364457d935d05873a2 to your computer and use it in GitHub Desktop.
[kostyle] margins dependence by height (default by width)
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
<div class="mb-0 h-100 top"> | |
<div class="middle"> | |
<div class="inner"></div> | |
</div> | |
</div> | |
.overwidget { | |
background: #fff; | |
height: 100%; | |
width: 100%; | |
opacity: 0.8; | |
top: 0; | |
left: 0; | |
position: absolute; | |
padding: 0; | |
transition: opacity .5s; | |
} | |
.tempwidget { | |
width: 5em; | |
margin: 0 auto; | |
writing-mode: vertical-lr; | |
height: 100%; | |
} | |
.loader { | |
width: 5em; | |
height: 5em; | |
margin: 30% auto; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment