@Y-ashbhatt
Posted
Nice Solution!
As for responsiveness, websites are inherently responsive and most of the time it's our CSS that breaks them lol.
As for your code the problem is the width in main class
.
Avoid setting fixed width values for elements like this. You've set width: 100vw. 100VW would represent 100% of the viewport's width, or the full width of the screen. % reflects a percentage of the parent element's size, regardless of the viewport's size. Instead, you can set a max-width to it or give it no width.
Go through the LEARNING PATHS. I'm learning responsive design through them, they're pretty good.
Hope it helps you.
Marked as helpful
@refikmemmedov
Posted
thank you very much for the comment @Y-ashbhatt