Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Media Queries Not Working #2

Open
azelalynetan opened this issue Aug 23, 2017 · 1 comment
Open

Media Queries Not Working #2

azelalynetan opened this issue Aug 23, 2017 · 1 comment

Comments

@azelalynetan
Copy link
Member

Issue: Media queries are not working :(

During study group, our goal is to apply the responsive design so we used media queries.
But it seems that no matter what media query we apply, it doesn't work. After debugging, we found out that we need to add <meta name="viewport" content="width=device-width, initial-scale=1.0"> in order for media queries to work.

But the main question is, Is it necessary to add <meta name="viewport" content="width=device-width, initial-scale=1.0"> for the media queries to work?

In our case, we need to add the meta viewport tag while on others, they've managed to use media queries without using the meta viewport tag.

Thanks.

@switmac
Copy link
Collaborator

switmac commented Aug 28, 2017

woow, thanks for this @azelalynetan! seems like we have a case to investigate. :) The browser used could be the culprit for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants