_sass/_mixins.scss in hardpool-flat-0.1.0 vs _sass/_mixins.scss in hardpool-flat-1.0.0
- old
+ new
@@ -7,9 +7,19 @@
}
width: 100%;
height: 100vw/$aspect;
position: absolute;
}
+@mixin picture-bg ($height: auto){
+ width: 100%;
+ height: $height;
+
+ background: {
+ size: cover;
+ position: center;
+ repeat: no-repeat;
+ }
+}
@mixin circle-image ($size, $url:"not-provided"){
background: {
size: 100% auto;
repeat: no-repeat;
@if $url != "not-provided" {