Ditching thumbnail glow on mobile - performance suffering too much
This commit is contained in:
@ -36,19 +36,24 @@
|
||||
}
|
||||
|
||||
&--glow {
|
||||
@include blur(10px);
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
top: 30%;
|
||||
right: 30px;
|
||||
left: 30px;
|
||||
padding-bottom: 70%;
|
||||
width: auto;
|
||||
height: auto;
|
||||
opacity: 0.3;
|
||||
transform: rotateX(4deg);
|
||||
mix-blend-mode: multiply;
|
||||
}
|
||||
@include responsive($bp_medium) {
|
||||
display: none;
|
||||
}
|
||||
@include responsive(null, $bp_medium) {
|
||||
@include blur(10px);
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
top: 30%;
|
||||
right: 30px;
|
||||
left: 30px;
|
||||
padding-bottom: 70%;
|
||||
width: auto;
|
||||
height: auto;
|
||||
opacity: 0.3;
|
||||
transform: translateZ(0px) rotateX(4deg);
|
||||
mix-blend-mode: multiply;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__actions {
|
||||
|
||||
Reference in New Issue
Block a user