image fit

Enhanced
image cover
added aspect control
This commit is contained in:
2017-04-05 09:24:14 +02:00
parent 4ae77bdc87
commit 426dde5b61
5 changed files with 128 additions and 2 deletions
+24
View File
@@ -0,0 +1,24 @@
@import "../../../../framework";
.content {
.img-square {
@include cols(4,0);
margin: 0 -4px 0 0 !important;
border: solid thin black !important;
@include image-fit(0.75);
}
.img-round {
@include cols(4,0);
margin-right: -4px !important;
border: solid thin black !important;
@include image-fit(1);
img {
border-radius: 50%;
}
}
}