This content originally appeared on CSS-Tricks and was authored by Chris Coyier
What if an <iframe>
had within it another <iframe>
of the exact same source? Inception, as they say. Baptise Crespy does this all-important research in the name of art and science.
Turns out browsers are smart enough to not allow this infinite looping to occur (and likely crash your browser/computer). They strip the content after the 2nd nest. But! If you change the URL of the src
to be unique (but still essentially serve the same document), it works. Adding some random colors and animations and things get weird really fast.
Motion warning video:
Direct Link to Article — Permalink
The post iframe feedback appeared first on CSS-Tricks.
You can support CSS-Tricks by being an MVP Supporter.
This content originally appeared on CSS-Tricks and was authored by Chris Coyier
Chris Coyier | Sciencx (2021-02-11T14:24:40+00:00) iframe feedback. Retrieved from https://www.scien.cx/2021/02/11/iframe-feedback/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.