SCSS Framework

Added modernizr script to image Cover example
Added Aspect Ratio variables
Fixed image->fit aspect ratio to w/h instead of h/w
Added impotrant to width/height in image ->cover

TODO vertical center mixin
This commit is contained in:
2017-05-03 10:00:51 +02:00
parent d720639d65
commit 787bd61ce6
22 changed files with 1515 additions and 27 deletions
+1 -1
View File
@@ -33,6 +33,6 @@
&:after {
content: "";
display: block;
padding-bottom: 100% * $heightaspect;
padding-bottom: 100% / $heightaspect;
}
}