Menu

#Scrollbar

5 posts

Feed·
5 of 5 posts
I Deleted My Scroll-Lock Library's Ugly Hack. `scrollbar-gutter` Replaces It.
📰
0Read More

I Deleted My Scroll-Lock Library's Ugly Hack. `scrollbar-gutter` Replaces It.

DEV Community: css·Parsa J·16 days ago
#6aRL5L5F
#devtocss#devto#dev#scrollbar#gutter

Opening a modal shifts your whole page sideways because the scrollbar vanishes with it — the bug every scroll-lock library papers over with a JS width measurement and a padding-right hack.…

15s
Our site hides every scrollbar, smooth-scrolls for exactly one link, and that link does not scroll
📰
0Read More

Our site hides every scrollbar, smooth-scrolls for exactly one link, and that link does not scroll

DEV Community: nextjs·Daniel Pertu·16 days ago
#sUmLNmXi
#devtonextjs#devto#dev#how#features

Three universal rules and one html rule at the bottom of a 117-line stylesheet, applied to 20,962 elements across 72 pages. One of them is there for a single anchor link, and a click on that link changes the hash without moving the page.…

15s