diff --git a/favorite.html b/favorite.html index ee8b1ee..978acda 100644 --- a/favorite.html +++ b/favorite.html @@ -22,6 +22,29 @@ body { font-family: "Noto Kufi Arabic", sans-serif; } + .filter-btn { + position: relative; + background-color: transparent; + transition: color 0.3s; +} + +.filter-btn::after { + content: ''; + position: absolute; + bottom: 0; + left: 0; + width: 0; + height: 3px; + background-color: #C10D10; + transition: width 0.4s ease-in-out; +} + +.filter-btn.active::after { + width: 100%; + right: 0; + left: auto; +} +
@@ -32,18 +55,19 @@