Added Menu Mixins:

Desktop vertical
Desktop vertical
Tablet/Phone Fullscreen
Toggle Button
This commit is contained in:
2017-03-29 12:14:21 +02:00
parent 5cafe3670b
commit 9cd926a1e5
25 changed files with 2269 additions and 1 deletions
+18
View File
@@ -0,0 +1,18 @@
@mixin image-cover($heightaspect) {
position: relative;
display: inline-block;
overflow: hidden;
img {
position: absolute;
object-fit: cover;
width: 100%;
height: 100%;
}
&:after {
content: "";
display: block;
padding-bottom: 100% * $heightaspect;
}
}