[ 🏠 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: 1779943464759.jpg (95.83 KB, 1280x842, img_1779943456632_pfz8xed7.jpg)ImgOps Exif Google Yandex

6a66f No.1728

if you're looking to make a header stick while scrolling w/o using tons of JS, give this CSS3 approach a try. simply use position: -webkit-sticky; and place it in your stylesheet like so:position-sticky
>. header { top: 0;
z-index :15;}

6a66f No.1729

File: 1779943617396.jpg (118.46 KB, 736x1308, img_1779943602277_fj8o0wxd.jpg)ImgOps Exif Google Yandex

>>1728
position-sticky is a lifesaver for quick implementations, but don't forget to test it across browsers! >!



[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">