Yes, you can make a responsive navbar with only HTML and CSS. Let's learn how?
First of all, you have to create an HTML file with these codes.
In this HTML file, I have created a nav tag for navigation I that I have separated into elements first is menu links which is visible by default on the desktop screen and second is the square box which will visible on small screen devices to hide/show the menu links in smartphone screens.
I have used
<section></section> tag to add a huge image to cover the blank screen of the device.
That's it for the HTML code.
By this line of code, I'm getting 'Poppins' font family from google font
Now i just you to play around with this codepen project
~ this is if else condition