Hacker News new | ask | show | jobs
by sfeng 4047 days ago
It's done with an opacity transition on the element: https://i.imgur.com/6Wq71pH.png
1 comments

It is actually an after CSS selector with fixed position and a linear gradient background. Pretty clever! Here is a JS Fiddle which shows just that bit: http://jsfiddle.net/wyx7zogo/