diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2023-12-29 07:53:39 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2023-12-29 07:53:39 +0800 |
| commit | 83ee7c2e2f3f0eeab8d71bf4a30cb48d10b0b384 (patch) | |
| tree | 4b43357c3e829c584867ba67eb0d7034b820a7d9 /src | |
| parent | 8a5c0f459be8244c896f668518bf774a69b38860 (diff) | |
adjust mobile animation all .3s
Diffstat (limited to 'src')
| -rw-r--r-- | src/css/style.css | 31 |
1 files changed, 24 insertions, 7 deletions
diff --git a/src/css/style.css b/src/css/style.css index cd9a6abe..b398872a 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -30,8 +30,8 @@ } @font-face { -font-family: audiowide; -src: url(/fonts/audiowide.ttf); + font-family: audiowide; + src: url(/fonts/audiowide.ttf); } /* page setup ============================================= */ @@ -46,6 +46,12 @@ src: url(/fonts/audiowide.ttf); /* transition: all 0.3s; */ } +@media (pointer:none), (pointer:coarse) { + * { + transition: all .3s; + } +} + body { top: 0; left: 0; @@ -53,7 +59,7 @@ body { } body::-webkit-scrollbar { -display: none; + display: none; } /* animation ============================================== */ @@ -152,6 +158,17 @@ to { } } +@keyframes scroll { + from { + opacity: 0.8; + scale: 0.75; + } + to { + opacity: 1; + scale: 1; + } +} + /* animation: name duration timing-function delay iteration-count direction fill-mode; */ @@ -357,10 +374,10 @@ section { } .wrapper { -height: 100vh; -overflow-y: auto; -overflow-x: hidden; -perspective: 10px; + height: 100vh; + overflow-y: auto; + overflow-x: hidden; + perspective: 10px; } a:hover { |
