3 ms·
The JavaScript should create the fade style, then it will only happen if js is running.
by tedunangst 8y ago
The JavaScript should create the fade style, then it will only happen if js is running.
- SquareWheel 8y agoI'm pretty sure the JS actually stops the fade. The inline CSS will be executed very early on in the page, before any assets are loaded. Though it seems to me if the page is fast enough anyway (as amp pages claim to be), then this trick shouldn't be necessary anyway.