Add background color on photos parent element
So we see a color instead of a transparent block while loading the image
This commit is contained in:
@@ -45,6 +45,7 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
z-index: 3;
|
z-index: 3;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
background: $color-primary-tertiary20;
|
||||||
|
|
||||||
@include bp (sm) {
|
@include bp (sm) {
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
|
|||||||
@@ -71,6 +71,7 @@
|
|||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
transform: rotate(var(--rotation)) translateZ(0);
|
transform: rotate(var(--rotation)) translateZ(0);
|
||||||
|
background: $color-primary-tertiary20;
|
||||||
|
|
||||||
// First row
|
// First row
|
||||||
&:nth-child(1) {
|
&:nth-child(1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user