Skip to content

Added Jeremy Keith's Conditional CSS - #5

Open
jordanmoore wants to merge 3 commits into
designbyfront:masterfrom
jordanmoore:master
Open

Added Jeremy Keith's Conditional CSS#5
jordanmoore wants to merge 3 commits into
designbyfront:masterfrom
jordanmoore:master

Conversation

@jordanmoore

Copy link
Copy Markdown

Useful for loading different JS depending on the currently active media query - http://adactio.com/journal/5429/

Jeremy's method checks the MQ on each page reload - for performance reasons I think we should stick to this rather than checking on each viewport resize (after all, it's mainly us nerds that are resizing from a large to a small context, right?).

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

Successfully merging this pull request may close these issues.

1 participant