ImageZoom: Add square lens option

This commit is contained in:
V 2023-06-30 15:50:56 +02:00
parent 0936ca2985
commit b607eebcb7
No known key found for this signature in database
GPG key ID: A1DC0CFB5615D905
3 changed files with 28 additions and 7 deletions

View file

@ -11,7 +11,11 @@
pointer-events: none;
}
.vc-imgzoom-lens.nearest-neighbor > img {
.vc-imgzoom-square {
border-radius: 0;
}
.vc-imgzoom-nearest-neighbor > img {
image-rendering: pixelated; /* https://googlechrome.github.io/samples/image-rendering-pixelated/index.html */
}