diff --git a/src/pages/portfolio.astro b/src/pages/portfolio.astro index ea24b12..7a0464b 100644 --- a/src/pages/portfolio.astro +++ b/src/pages/portfolio.astro @@ -42,4 +42,34 @@ figcaption { p { line-height: 1.5; } + +a { + position: relative; + text-decoration: none; + color: #ff66ff; + padding: 2px; + transition: color 0.1s; +} + +a::before { + content: ''; + position: absolute; + width: 100%; + height: 100%; + bottom: 0; + left: 0; + background-color: #ff66ff; + transform: scaleY(0.1); + transition: transform 0.1s ease-out; + transform-origin: bottom; + z-index: -1; +} + +a:hover::before { + transform: scaleY(1); +} + +a:hover { + color: white; +}