diff options
| author | Martial Simon <msimon_fr@hotmail.com> | 2023-06-27 16:57:10 +0200 |
|---|---|---|
| committer | Martial Simon <msimon_fr@hotmail.com> | 2023-06-27 16:57:10 +0200 |
| commit | a907fb793e959001b77ac9636d6fcfd2c3755f4f (patch) | |
| tree | 0505b68e572dceac7da48ff4fe530faca31a0d86 /style.css | |
| parent | f24cfaae4d514153b198950a098a4495de8218db (diff) | |
feat: opacity transition on link boxes
Diffstat (limited to 'style.css')
| -rw-r--r-- | style.css | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -37,6 +37,8 @@ body{ background-color: rgba(220, 237, 200, 0.55); border: 3px solid skyblue; border-radius: 2%; + transition-property: opacity; + transition-duration: 0.3s; /*animation-name: spin; animation-duration: 2s; animation-iteration-count: infinite; @@ -51,6 +53,7 @@ a{ .link:hover { opacity: 0.6; } + .link span{ font-family:tintin; font-size:1.5em; @@ -99,8 +102,18 @@ a{ .footer{ animation-name: foot-anim; - animation-duration: 5s; + animation-duration: 6s; animation-iteration-count: infinite; + animation-timing-function: linear; +} + +@keyframes unopacitize{ + from{ + opacity: 1; + } + to{ + opacity: 0.6; + } } @keyframes spin{ |
