style: smooth scroll global auf html (CSS-only)
- html { scroll-behavior: smooth; }
- wirkt für Mausrad + Trackpad + Anker-Links gleich
- kein JS, keine zusätzlichen Dateien
This commit is contained in:
1 parent
5cf5cf856e
commit
104745fcd3
1 file changed
+2
@@ -16,6 +16,8 @@
|
||||
--akzent-gold: #c9a227;
|
||||
}
|
||||
|
||||
html { scroll-behavior: smooth; }
|
||||
|
||||
* { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
|
||||
body {
|
||||
|
||||
Reference in new issue
Block a user