Closed blokhin closed 3 years ago
I think we should use some javascript code to make it works. I'll check it after I found out how to run IE on Mac.
To replace 1024px in the media query with the mobile breakpoint:
.zoom-image {
position: relative;
}
.zoom-image::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: transparent;
}
@media only screen and (min-width: 1024px) {
.zoom-image::before {
display: none;
}
}```
Unfortunately, a current one doesn’t work for IE.