made card image switcher
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user