Can any one tell me how to call particular CSS file when site opens in Desktop versions hided in mobile versions
Asked
Active
Viewed 162 times
-2
-
Such questions are [not appropriate for this site](http://bit.ly/dcqznq) and will be [closed](http://bit.ly/18T95z1) or [deleted](http://bit.ly/10c3VuR). Be sure to familiarize yourself with [what type of questions you can or should ask](http://bit.ly/r0ZSEc). If you have any question about this, feel free to ask on [Meta](http://bit.ly/SgO5J) or check the [FAQ] and see the [About] page for general information. – John Conde May 30 '13 at 01:21
-
http://stackoverflow.com/questions/6370690/media-queries-how-to-target-desktop-tablet-and-mobile – Isaac May 30 '13 at 01:27
1 Answers
1
You can do:
<link rel="stylesheet" media="(min-width: 768px)" href="style.css" />
More documentation here

karthikr
- 97,368
- 26
- 197
- 188
-
Note that all browsers will download that file, even if the media query doesn't apply to them. – cimmanon May 30 '13 at 01:27