<div class="img-hover-zoom">
  <img src="https://laravel-vue.eu/storage/icon/1/2020/04/20/hvr_1_1587368334.png" alt="алт">
</div>
<h4>Бързо увеличение</h4>
<div class="img-hover-zoom img-hover-zoom--quick-zoom">
  <img src="https://laravel-vue.eu/storage/icon/1/2020/04/20/hvr_1_1587368334.png" alt="алт">
</div>
<h4>Увеличение в точка</h4>
<div class="img-hover-zoom img-hover-zoom--point-zoom">
  <img src="https://laravel-vue.eu/storage/icon/1/2020/04/20/hvr_1_1587368334.png" alt="алт">
</div>
<h4>Увеличение с въртене</h4>
<div class="img-hover-zoom img-hover-zoom--zoom-n-rotate">
  <img src="https://laravel-vue.eu/storage/icon/1/2020/04/20/hvr_1_1587368334.png" alt="алт">
</div>
<h4>Увеличение със забавено действие</h4>
<div class="img-hover-zoom img-hover-zoom--slowmo">
  <img src="https://laravel-vue.eu/storage/icon/1/2020/04/20/hvr_1_1587368334.png" alt="алт">
</div>
<h4>Увеличение с изсветляване</h4>
<div class="img-hover-zoom img-hover-zoom--brightness">
  <img src="https://laravel-vue.eu/storage/icon/1/2020/04/20/hvr_1_1587368334.png" alt="алт">
</div>
<h4>Хоризонтално увеличение</h4>
<div class="img-hover-zoom img-hover-zoom--zoom-n-pan-h">
  <img src="https://laravel-vue.eu/storage/icon/1/2020/04/20/hvr_1_1587368334.png" alt="алт">
</div>
<h4>Вертикално увеличение</h4>
<div class="img-hover-zoom img-hover-zoom--zoom-n-pan-v">
  <img src="https://laravel-vue.eu/storage/icon/1/2020/04/20/hvr_1_1587368334.png" alt="алт">
</div>
<h4>Увеличение с изясняване</h4>
<div class="img-hover-zoom img-hover-zoom--blur">
  <img src="https://laravel-vue.eu/storage/icon/1/2020/04/20/hvr_1_1587368334.png" alt="алт">
</div>
<h4>Увеличение с цветови ефект</h4>
<div class="img-hover-zoom img-hover-zoom--colorize">
  <img src="https://laravel-vue.eu/storage/icon/1/2020/04/20/hvr_1_1587368334.png" alt="алт">
</div>
/* Контейнера, в който е изображението */
.img-hover-zoom {
  width: 300px;
  height: 300px; /* [1.1] сетнете според нужните ви*/
  overflow: hidden; /* [1.2] скрийте overflowing на вътрешният елемент */
}

/* [2] Свойства на прехода - вид и време */
.img-hover-zoom img {
  transition: transform .5s ease;
}

/* [3] Последно - приложете трансформацията, когато изображението е посочено с мишката */
.img-hover-zoom:hover img {
  transform: scale(1.5); /* 1.5 е увеличение с 50% на изображението */
}
/* Quick-zoom Container */
.img-hover-zoom--quick-zoom img {
  transform-origin: 0 0;
  transition: transform .25s, visibility .25s ease-in;
}
.img-hover-zoom--quick-zoom:hover img {
  transform: scale(2);
}
/* Point-zoom Container */
.img-hover-zoom--point-zoom img {
  transform-origin: 65% 75%;
  transition: transform 1s, filter .5s ease-out;
}
.img-hover-zoom--point-zoom:hover img {
  transform: scale(5);
}
/* Zoom-n-rotate Container */
.img-hover-zoom--zoom-n-rotate img {
  transition: transform .5s ease-in-out;
}
.img-hover-zoom--zoom-n-rotate:hover img {
  transform: scale(2) rotate(25deg);
}
/* Slow-motion Zoom Container */
.img-hover-zoom--slowmo img {
  transform-origin: 50% 65%;
  transition: transform 5s, filter 3s ease-in-out;
  filter: brightness(150%);
}
.img-hover-zoom--slowmo:hover img {
  filter: brightness(100%);
  transform: scale(3);
}
/* Brightness-zoom Container */
.img-hover-zoom--brightness img {
  transition: transform 2s, filter 1.5s ease-in-out;
  transform-origin: center center;
  filter: brightness(50%);
}
.img-hover-zoom--brightness:hover img {
  filter: brightness(100%);
  transform: scale(1.3);
}
/* Horizontal Zoom-n-pan Container */
.img-hover-zoom--zoom-n-pan-h img {
  transition: transform .5s ease-in-out;
  transform: scale(1.4);
  transform-origin: 100% 0;
}
.img-hover-zoom--zoom-n-pan-h:hover img {
  transform: scale(1.5) translateX(30%);
}
/* Vertical Zoom-n-pan Container */
.img-hover-zoom--zoom-n-pan-v img {
  transition: transform .5s ease-in-out;
  transform: scale(1.4);
  transform-origin: 0 0;
}
.img-hover-zoom--zoom-n-pan-v:hover img {
  transform: scale(1.25) translateY(-30%);
}
/* Blur-zoom Container */
.img-hover-zoom--blur img {
  transition: transform 1s, filter 2s ease-in-out;
  filter: blur(2px);
  transform: scale(1.2);
}
.img-hover-zoom--blur:hover img {
  filter: blur(0);
  transform: scale(1);
}
/* Colorize-zoom Container */
.img-hover-zoom--colorize img {
  transition: transform .5s, filter 1.5s ease-in-out;
  filter: grayscale(100%);
}
.img-hover-zoom--colorize:hover img {
  filter: grayscale(0);
  transform: scale(1.1);
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.