BEL Posted April 15, 2021 Share Posted April 15, 2021 Hello! I have a media query in my CSS that is not effecting my site on desktop, only mobile. However, I would like the layout to shift to mobile if someone were to make their screen mobile sized for example. HTML: <meta name="viewport" content="width=device-width, initial-scale=1.0"/> CSS: @media only screen and (min-device-width : 320px) and (max-width : 480px) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now