Can You Really Build a Website Using Only CSS?
I’ve long been curious about the debate on whether or not it’s possible to build a website using only CSS. On one hand, it would seem like doing so would be easy—just throw in some CSS and you’re done, right?
But on the other hand, many people say it’s nearly impossible, particularly with complicated sites like Facebook and Amazon that require so much functionality.
It is difficult to create a website using solely CSS. HTML serves as the website's structure, while CSS is utilised to style the html tags.
Okay, so there’s been an interesting trend lately—lots of designers and developers have been experimenting with building fully functional websites using only CSS.
Why you shouldn’t use CSS only?
While it might seem like cool magic trick at first, don’t be fooled into thinking that these techniques are ready for mainstream use.
There are major limitations when using CSS to create more complex designs: What if you want to change something later on down the line (e.g., your header image)? That could mean editing hundreds or thousands of lines of code.
Also, inorder to showcase any website the HTTP header should contain the Content-Type and which should be text/html inorder to properly render the webpage by the browsers. Whereas Content-Type of a CSS file will be text/css.
Also read: Hosting .CSS file online for free