From 20acff7018bc3ed07e00e6e90d5133c290d88e82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ana=C3=ABlle?= <125869653+anaelle1531@users.noreply.github.com> Date: Sat, 1 Feb 2025 15:44:44 +0100 Subject: [PATCH] Update style.css --- style.css | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/style.css b/style.css index 60445ad..07cb278 100644 --- a/style.css +++ b/style.css @@ -41,9 +41,10 @@ p { } img { - max-width: 30%; - display: block; + max-width: 30%; + display: block; margin-left:10px; + transition: transform 0.3s ease, opacity 0.3s ease; /*width: 100px; largeur en pixel de ta photo */ /*height:75px; hauteur en pixel de ta photo */ /*margin-right:10px; marge en pixel à droite de la photo */ @@ -142,3 +143,8 @@ a { font-weight: 600 ; font-style: normal; } + +img:hover { + transform: scale(1.05); + opacity: 0.9; +}