made card image switcher

This commit is contained in:
2019-06-11 18:04:46 +02:00
parent 5da3b3c90a
commit a771fd9d74
10 changed files with 132 additions and 50 deletions

View File

@@ -251,13 +251,23 @@ article.node--type-frontpage{
}
section.images{
position: relative;
img:first-of-type{
z-index:5
}
img:not(:first-of-type){
&, *{width: 100%; height:100%;}
figure{
margin:0;
position: absolute;
top:0; left:0;
z-index:1;
// width: 100%; height:100%;
&:first-of-type{
z-index:5
}
img{
// width: 100%; height:100%;
&.blank{
position: absolute;
top:0; left:0;
z-index: 20;
}
}
}
}
}