I'm facing a challenge with optimizing my webpage for different mobile resolutions in my beginner HTML/CSS course. Whenever I use a website resolution simulator to test, the layout doesn't look right on certain settings.
Is there a method to automatically detect resolutions using HTML and CSS?
Edit: I've already included a meta viewport tag