DEV Community

Discussion on: Animations without JS...or CSS...or IMAGES??!? đŸ˜² Pure HTML animation!

Collapse
 
0vortex profile image
TED Vortex (Teodor Eugen Duțulescu)

I was ironic, it's not HTML it's PHP ... hence the clickbait.

Thread Thread
 
grahamthedev profile image
GrahamTheDev • Edited

It is just a .php extension - check the outputted HTML it is indeed just a load of HTML, it would work equally well with a .html extension.

It uses <meta http-equiv="refresh" content="0;url={next frame}" /> meta tag to request the next frame (which is stored on an individual URL), then after a certain amount of frames it just requests the first frame again ([...]1.php).

Each frame is just HTML. If you open it on a PC you will see the URL changes rapidly. No PHP trickery I promise!