Skip to content

Instantly share code, notes, and snippets.

@jrgleason
Created October 6, 2012 16:47
Show Gist options
  • Save jrgleason/3845444 to your computer and use it in GitHub Desktop.
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.
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
@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