diff options
| author | salmonik <raisersoft@proton.me> | 2025-09-22 17:12:33 +0200 |
|---|---|---|
| committer | salmonik <raisersoft@proton.me> | 2025-09-22 17:12:33 +0200 |
| commit | 55f6824258eb2177b1b0ce32a22cc6dcda45bfbf (patch) | |
| tree | 9485c096a196f1265e40f93d2e50a55f9c81a5de | |
| parent | added GPG key (diff) | |
| download | site-55f6824258eb2177b1b0ce32a22cc6dcda45bfbf.tar.gz site-55f6824258eb2177b1b0ce32a22cc6dcda45bfbf.zip | |
smooth scrolling when going to divs
| -rw-r--r-- | styles.css | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -16,6 +16,11 @@ | |||
| 16 | } | 16 | } |
| 17 | 17 | ||
| 18 | /* Base background and cursor light effect */ | 18 | /* Base background and cursor light effect */ |
| 19 | html { | ||
| 20 | scroll-behavior: smooth; | ||
| 21 | scroll-padding-top: 80px; /* Adjust this value based on your header height */ | ||
| 22 | } | ||
| 23 | |||
| 19 | html, body { | 24 | html, body { |
| 20 | min-height: 100%; | 25 | min-height: 100%; |
| 21 | margin: 0; | 26 | margin: 0; |
