diff options
Diffstat (limited to 'static/styles.css')
-rw-r--r-- | static/styles.css | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/static/styles.css b/static/styles.css index 08c2fd2..300cada 100644 --- a/static/styles.css +++ b/static/styles.css @@ -13,6 +13,7 @@ /* make the scrolling smooth */ html, body{ scroll-behavior: smooth; + overflow-x: hidden; } .header{ @@ -256,7 +257,12 @@ color: var(--title-color); } #a:hover + #b { - margin-left: 20%; + transform: translateX(40%); +} +#b{ + transform: translateX(0); + transition: transform 0 300ms linear + } |