If you add a dummy <script> tag right after <body>, Firefox will show the page after all the css from <head> is loaded:<body> <script>0</script> <!-- rest of the code --></body>在Firefox网站上有关于此FOUC(未样式化内容的Flash)的官方错误报告: https://bugzilla.mozilla.org/show_bug.cgi?id=1404468There is an official bugreport about this FOUC (Flash Of Unstyled Content) on the Firefox site: https://bugzilla.mozilla.org/show_bug.cgi?id=1404468 这篇关于仅在Firefox中闪烁未样式化内容(FOUC)? FF慢速渲染器吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-05 18:38