Skip to content

Instantly share code, notes, and snippets.

@IDIDIR
Created March 11, 2019 11:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IDIDIR/4a8bed715ce0a1364457d935d05873a2 to your computer and use it in GitHub Desktop.
Save IDIDIR/4a8bed715ce0a1364457d935d05873a2 to your computer and use it in GitHub Desktop.
[kostyle] margins dependence by height (default by width)
<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