Flash of Unstyled Content!
Introduction
This is a big issue in many of the Websites. First lets see what is FOUC! The style part of a website is given by CSS. It contains all the presentation rules and stuff. When the CSS files are removed, it is just the markup with the browser's default way of representing!
Where and Why does it first of all come?
Web Developers are mostly concerned about performance and delivery of content rather than style. So, what they do is, they used to push the content first to the users and then after the page is loaded, the CSS Files and JavaScript files are loaded! This is one of the main reason, the page loads before the CSS gets loaded and the default rendering of the markup without any styles are shown.
So how does it affect users?
As the name says, it is just a flash for a few seconds only. Some crazy people would have captured it. For eg., lets take our CE Website, and see how it looks without style and after the CSS Files get loaded.
This is a big issue in many of the Websites. First lets see what is FOUC! The style part of a website is given by CSS. It contains all the presentation rules and stuff. When the CSS files are removed, it is just the markup with the browser's default way of representing!
Where and Why does it first of all come?
Web Developers are mostly concerned about performance and delivery of content rather than style. So, what they do is, they used to push the content first to the users and then after the page is loaded, the CSS Files and JavaScript files are loaded! This is one of the main reason, the page loads before the CSS gets loaded and the default rendering of the markup without any styles are shown.
So how does it affect users?
As the name says, it is just a flash for a few seconds only. Some crazy people would have captured it. For eg., lets take our CE Website, and see how it looks without style and after the CSS Files get loaded.
When the FOUC comes for a few seconds, the site looks this way:
![[IMG]](proxy.php?image=http%3A%2F%2Fi.imgur.com%2FjvfSX.png&hash=7224fd2fa4aa0ca384b337c55a718557)
And after the CSS Files get loaded, it displays this way:
![[IMG]](proxy.php?image=http%3A%2F%2Fi.imgur.com%2Fs4VQU.png&hash=98e75cfeabce890deface499d9a5b199)
0