Why are my CSS3 media queries not working on mobile devices

0 votes

I'm using media queries in the styles.css, and they both utilise a variation of:

/*--[ Normal CSS styles ]----------------------------------*/

@media only screen and (max-width: 767px) {

    /*--[ Mobile styles go here]---------------------------*/
}

In a regular browser (Safari, Firefox), the sites resize to the layout I desire when I minimize the window, but the mobile layout isn't displayed at all on a phone. I only see the CSS that is set to default.

Can someone please assist me on the right path?

Jul 29, 2022 in CSS by Edureka
• 13,620 points

edited 4 days ago 6 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP