ajustement zoom in image

This commit is contained in:
2024-03-21 14:54:17 +01:00
parent a091c7f55a
commit ec28fb3347
4 changed files with 16 additions and 71 deletions

View File

@@ -190,7 +190,7 @@
width: -moz-available;
width: 100%;
height: auto;
z-index: 100;
// z-index: 100;
&:hover{
filter: brightness(75%);
transition: 0.2s;
@@ -198,7 +198,6 @@
cursor: zoom-in;
cursor: -moz-zoom-in;
cursor: -webkit-zoom-in;
z-index: 100;
@media(max-width: 500px){
filter: brightness(100%);
}
@@ -211,11 +210,16 @@
transform: scale(1.7);
max-width: 100vw;
overflow-x: scroll;
z-index: 100;
position: relative;
z-index: 98;
&:hover{
filter: brightness(100%);
transition: 0.2s;
overflow-x: scroll;
cursor: zoom-out;
cursor: -moz-zoom-out;
cursor: -webkit-zoom-out;
}
}
}