diff options
Diffstat (limited to 'style.css')
| -rw-r--r-- | style.css | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -1,3 +1,7 @@ +:root{ + --shadow-size: 8px; +} + body{ display: flex; background: url(img/bg.jpg) no-repeat fixed; @@ -24,8 +28,14 @@ nav{ left: 0; } -nav img{ - width: 100%; +nav a{ + text-shadow: 1px 1px var(--shadow-size) white, -1px -1px var(--shadow-size) white, -1px 1px var(--shadow-size) white, 1px -1px var(--shadow-size) white; + transition-property: var(--shadow-size); + transition-duration: 1s; +} + +nav a:hover{ + --shadow-size: 15px; } .content{ |
