portfolio : liens réglés

This commit is contained in:
Ahurac 2024-06-04 11:55:48 +02:00
parent 09ba113258
commit 778d7e4780

View file

@ -112,29 +112,13 @@ a {
text-decoration: none; text-decoration: none;
color: #ff66ff; color: #ff66ff;
padding: 2px; padding: 2px;
transition: all 0.1s ease-out; transition: all 0.3s ease;
} box-shadow: inset 0 -3px 0 #ff66ff;
a::before {
content: '';
position: absolute;
width: 100%;
height: 100%;
bottom: 0;
left: 0;
background-color: #ff66ff;
transform: scaleY(0.1);
transition: all 0.1s ease-out;
transform-origin: bottom;
z-index: -1;
}
a:hover::before {
transform: scaleY(1);
} }
a:hover { a:hover {
color: white; color: white;
box-shadow: inset 0 -24px 0 #ff66ff;
} }
code { code {