Как я могу добиться анимированного масштабирования при наведении курсора мыши с помощью CSS?CSS

Разбираемся в CSS
Ответить
Anonymous
 Как я могу добиться анимированного масштабирования при наведении курсора мыши с помощью CSS?

Сообщение Anonymous »


I'm currently working on a project and could use some assistance. I'm aiming to integrate a particular animation effect where, upon hovering over any of the four image selections in the project, I want them to dynamically zoom in and change angles, enhancing the visual experience. I'm hoping to achieve an effect similar to the example I provided. I've checked YouTube and Google, but can't find a guide or video on how to do it, Any guidance on implementing this would be greatly appreciated!

Example: zoomed in image when hover

here is my code:

Hello, World! body { background-color: #eb3477; } .sel-btns { display: flex; justify-content: space-evenly; align-items: flex-end; } .box { margin-top: 100px; } .box { display: flex; border: solid; color: white; height: 50px; width: 65px; align-items: flex-end; border-radius: .5em; background: #d94c74; } img { position: relative; right: 45px; top: 5px; height: 150px; width: 150px; }
Изображение

Изображение

Изображение

Изображение
you can also run the code here!: https://jsfiddle.net/sofie_anne13/qt3Lvxn8/105/


Источник: https://stackoverflow.com/questions/780 ... -using-css
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «CSS»