portfolio : meileures lignes pour les transitions

This commit is contained in:
Ahurac 2024-05-29 15:55:36 +02:00
parent 29726495dc
commit 9f2c84f8dc

View file

@ -69,7 +69,7 @@ a {
text-decoration: none; text-decoration: none;
color: #ff66ff; color: #ff66ff;
padding: 2px; padding: 2px;
transition: color 0.1s; transition: all 0.1s ease-out;
} }
a::before { a::before {
@ -81,7 +81,7 @@ a::before {
left: 0; left: 0;
background-color: #ff66ff; background-color: #ff66ff;
transform: scaleY(0.1); transform: scaleY(0.1);
transition: transform 0.1s ease-out; transition: all 0.1s ease-out;
transform-origin: bottom; transform-origin: bottom;
z-index: -1; z-index: -1;
} }