Hacker News new | ask | show | jobs
by whafro 3544 days ago
The body element already has an opacity attribute, defaulted to 1. This explicitly defines it, initially, and decreases it over time.
1 comments

fade.php or fade.js add the CSS opacity to the <body>

see the examples