Hacker News new | ask | show | jobs
by dietrichepp 3546 days ago
"Add opacity" -> opacity is an attribute, which is added to the body.
1 comments

The body element already has an opacity attribute, defaulted to 1. This explicitly defines it, initially, and decreases it over time.
fade.php or fade.js add the CSS opacity to the <body>

see the examples