From 4c0a7cfc2b79c5c3af4d2969b383ae6bfc3ee385 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Wed, 17 Nov 2021 03:22:00 +0300 Subject: [PATCH] fancy a animation --- styles/styles.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/styles/styles.css b/styles/styles.css index c3aacaa..e500378 100644 --- a/styles/styles.css +++ b/styles/styles.css @@ -59,13 +59,14 @@ ul.nav--links li { a { color: #000000; + border-bottom: 3px solid rgba(0, 0, 0, 0); text-decoration: none; - transition: all 0.2s; + transition: border-bottom 0.2s; } a:hover { border-bottom: 3px solid #000000; - transition: all 0.2s; + transition: border-bottom 0.2s; } article#about {