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:
@@ -7,8 +7,8 @@
|
||||
img {
|
||||
position: absolute;
|
||||
object-fit: cover;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
width: 100% !important;
|
||||
height: 100% !important;
|
||||
}
|
||||
|
||||
&:after {
|
||||
|
||||
Reference in New Issue
Block a user