@adityas24
Posted
Hey Yeyo great job! I studied your work and i saw that you have written lot of media queries for every screen size available. That is old way of writing media queries and not the best practice in 2022.
The best way would be you start decreasing size of screen and see where the elements are breaking. Suppose they start breaking at 1200 px. So you write media query for 1200px. And write your code in media query such that it works atleast for next 150-200px. I mean your website does not break for next 150-200px.
Then again decrease the size of screen. Suppose now your website start breaking at 950px. Then again write media query for 950px. And so on.
And i saw you wrote a media query for 375px and 320px. The media query written for 375px will even work well for 320px. If it is working well, then why to write extra code?
I hope you got my point๐. All the best ๐
Marked as helpful
@Poche89
Posted
@adityasingh84 Thank you for your feedback.