Created
October 4, 2012 03:58
-
-
Save gmassanek/3831390 to your computer and use it in GitHub Desktop.
BAHHHH Media Query triggering at 874px no 960px
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> | |
<style> | |
body { margin: 0; padding: 0;} | |
.codemarks { | |
width: 960px; | |
height: 500px; | |
margin: 0 auto; | |
background: blue; | |
} | |
.codemarks { | |
height: 500px; | |
margin: 0 auto; | |
width: 960px; | |
} | |
@media only screen and (min-width: 960px) { | |
.codemarks { | |
background: green; | |
} | |
} | |
@media only screen and (max-width: 960px) { | |
.codemarks { | |
background: red; | |
} | |
} | |
</style> | |
</head> | |
<body> | |
<div id="main_content"> | |
<div class="codemarks"> </div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://code.google.com/p/chromium/issues/detail?id=86155