logoalt Hacker News

Stitch4223today at 6:09 PM1 replyview on HN

What is happening here and why is it special? The site itself does show, but does not tell (which in itself is somewhat refreshing).


Replies

lelandfetoday at 6:41 PM

This is an effect that is widely used but is generally done with JS.

The effect indicates to users who may not have scroll bars enabled that a box can be scrolled. The fade should be removed when a box can’t be scrolled in that direction.

CSS effects tend (tend) to be faster and conceptually is a better place for effects anyway (e: and works with JS disabled, which is cool)