Created
October 6, 2012 16:47
-
-
Save jrgleason/3845444 to your computer and use it in GitHub Desktop.
This is what my jade media query looke like, this doesn't seem to pick up the mobile CSS file. However the stylus media query makes it work fine.
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
doctype 5 | |
html | |
head | |
block head | |
title= title | |
link(rel='stylesheet', href='/stylesheets/style.css') | |
link(rel='stylesheet', href='/stylesheets/mobile.css', media='screen and (max-device-width: 480px)') | |
body |
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
@media screen and (max-width:480px) | |
div | |
float: none | |
clear: both | |
#nav | |
display:none |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment