@Harkanni
Posted
No you don't write separate HTML for web and mobile, that is an archaic practice. and also quite costly.
You use Media queries instead. Media queries contains CSS styles for what happens at a particular viewport.
It's a very fine website.
Marked as helpful
@KehindeDaniels
Posted
Hi @Harkanni
Thanks for your response
I meant for the header itself, I saw someone write a different html for the header,
Since it's consisting if just logo and links, is it a "cleaner" practice
@Efobi-Francis
Posted
@KehindeDaniels in my opinion, using css frameworks such as Tailwind saves you a lot of troubles also you can easily style for desktop and mobile views in a single file using the hidden or display property when needed
Marked as helpful
@KehindeDaniels
Posted
@Efobi-Francis , I'm just about to pick up tailwindcss, I can't wait to see how it will ease responsive layout...