ageitgey / amplify

A Jekyll html theme in the vague style of Medium.com built using Google AMP
https://cdn.ampproject.org/c/s/ageitgey.github.io/amplify/2016/03/08/example-post.html
Other
1.86k stars 166 forks source link

8s of doom #4

Closed zorker closed 8 years ago

zorker commented 8 years ago

Wth?

<style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript>
ageitgey commented 8 years ago

I'm not sure what your question is, but it sounds like it's a question for the amp team. This is part of the amp boilerplate provided by them.

Check out the amphtml project there: https://github.com/ampproject/amphtml/blob/master/spec/amp-boilerplate.md.

zorker commented 8 years ago

It makes the page go blank for 8 seconds onload. Not sure if you want that to happen to any website that you call amplified.

ageitgey commented 8 years ago

It doesn't go blank on any device I've tried. If you are seeing that, you should report a bug to the amphtml project and let them know the browser/device you saw it on.