Remove White Flash when iframe Loads

Krunal Shah
Krunal Shah

on April 30, 2019

By using inline style visibility:hidden iframe won't show up and onload="this.style.visibility = 'visible';" will show iframe when rendering is complete.

<iframe
style="visibility:hidden;"
onload="this.style.visibility = 'visible';"
src="source.html"
></iframe>
HTMLCSS
Home
Tutorials
Tags