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:
@@ -33,6 +33,6 @@
|
||||
&:after {
|
||||
content: "";
|
||||
display: block;
|
||||
padding-bottom: 100% * $heightaspect;
|
||||
padding-bottom: 100% / $heightaspect;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user