correction marge et position image
This commit is contained in:
+6
-12
@@ -24,10 +24,12 @@
|
||||
|
||||
.image-bleed {
|
||||
position: absolute;
|
||||
width: calc(100% + #{$fond-perdu} * 6);
|
||||
height: calc(100% + #{$fond-perdu} * 6);
|
||||
margin-left: -$fond-perdu - 24;
|
||||
margin-top: -$fond-perdu - 16;
|
||||
width: calc(100% + (#{$marge} + #{$fond-perdu})*2);
|
||||
height: calc(100% + (#{$marge} + #{$fond-perdu})*2);
|
||||
margin-left: calc(-#{$marge} - #{$fond-perdu} );
|
||||
margin-top: calc(-#{$marge} - #{$fond-perdu}) !important;
|
||||
left:0;
|
||||
top:0;
|
||||
}
|
||||
|
||||
.image-cover {
|
||||
@@ -38,14 +40,6 @@
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.cover-left {
|
||||
background-position: 0 50%;
|
||||
}
|
||||
|
||||
.cover-right {
|
||||
background-position: -$largeur 50%;
|
||||
}
|
||||
|
||||
.grow {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user