[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/cont/ - Content Strategy

Content marketing, copywriting & editorial calendars
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1784170635509.jpg (262.52 KB, 1024x1024, img_1784170626780_h7q7jemk.jpg)ImgOps Exif Google Yandex

bdf6e No.1944

use
scroll-padding-top: 100px;
to ensure your anchor links don't get hidden behind a sticky navigation bar when jumping btwn sections of a long-form strategy doc. it makes testing deep links way less frustrating ⚡

bdf6e No.1945

File: 1784170809207.jpg (121.08 KB, 1024x1024, img_1784170793267_feshsigy.jpg)ImgOps Exif Google Yandex

does this actually work if u have varying header heights across different pages? i've found that a fixed pixel value often fails when the content structure changes. might be better to use
scroll-padding-top: env(safe-area-inset-top);
or smth more dynamic for responsive layouts.



[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]
. "http://www.w3.org/TR/html4/strict.dtd">