How to call particular CSS file only for desktop not for mobile [closed]


Tags: css,menu,hide

Problem :

Can any one tell me how to call particular CSS file when site opens in Desktop versions hided in mobile versions



Solution :

You can do:

<link rel="stylesheet" media="(min-width: 768px)" href="style.css" />

More documentation here


    CSS Howto..

    How to remove css background transparent?

    How do I split a WordPress theme into 2 columns?

    JavaFX - Where is the css file for definition of StageStyle located or how can I change it?

    Jquery - How to set mouseleave event to an after() generating div?

    How to add html and css in public function? [closed]

    small space keeps showing to right side of my website w

    How to override a style of a specific Joomla module?

    How to add margin-top to Responsive Multi-Level Menu and not effect navigation animation?

    How can I center a button in the cell of a table using CSS ASP.NET

    How can I size these spans so that the pictures don't extend past them?

    How to format currency as you type using jQuery

    How to add CSS style to focused anchor in HTML

    How to put text on placeholder image

    How to use YUI Compressor in Ant build script for javascript and css

    JQuery, fade out table row and contents (on scroll) in ratio to how much the row is hidden by containing div

    How to exclude the container from this javascript code?

    How can I make this little javascript work with 2 textarea elements without killing the CSS?

    How to combine multiple css framework with overpalling classes

    Show/Hide Div's via | Save Scrollbar | Save State

    How is it that CSS borders create a triangle?

    CSS:How to properly remove border using CSS when border-radius is used?

    How to represent a Grid with vertical header text in HTML?

    How to resize and float right a background image using css?

    How to use CSS sprites in table sorting headers?

    How to select element by order ? - Css

    How do I get this text using Jsoup?

    Selecting the first-child with a given class, how? [duplicate]

    CSS question: How to fix several rendering issues on http://www.fareham.ac.uk

    How to change my css code to fit the footer to the bottom of the page for any size of monitor?

    DropDown Menu won't show for more than a second..not working.