js header

This commit is contained in:
2024-07-10 10:38:41 +02:00
parent 48a928428d
commit c7f5338a71
4 changed files with 37 additions and 48 deletions

File diff suppressed because one or more lines are too long

View File

@@ -419,7 +419,7 @@ header .header:hover + .header_nav_container {
/* Taille définitive du header après l'animation */
.header--collapsed {
height: 320px; /* Ou la hauteur que vous souhaitez pour votre header */
width: 50%;
width: 45%;
transform-origin: bottom right; /* Origine de la transformation à l'angle bas droit */
transition: all 1s ease-in-out;
}
@@ -434,7 +434,7 @@ header .header:hover + .header_nav_container {
.header--collapsed-already {
height: 320px; /* Ou la hauteur que vous souhaitez pour votre header */
width: 50%;
width: 45%;
transform-origin: bottom right; /* Origine de la transformation à l'angle bas droit */
transition: all 0s ease-in-out;
}