Re:One Year Without AMP
by tedunangst on Saturday August 04, 2018 @10:23AM
(#17686953)
The JavaScript should create the fade style, then it will only happen if js is running.
[ Parent
| on HN ]
Re:One Year Without AMP
by SquareWheel on Saturday August 04, 2018 @10:49AM
(#17687049)
I'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.