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 center align text over CSS shape?

    How to add and remove background images in css on clicking a link on page

    how to activate the functions of a div in css after focusing in a textbox in asp.net?

    How to modify the layout of jQuery UI autocomplete combobox

    How to fit elements in 100% width without absolute positioning?

    How to make IFrame fill width of screen

    How to rotate top-border around the circle?

    How to debug CSS with Firebug for an element that only appears when clicked?

    How to use Custom Fonts using CSS?

    How to set CSS3 ::selection using Javascript

    How to set div width to the width of the table in it?

    How can you separate the navigation bar list from the body list?

    CSS how to height step arrow

    how to get a CSSStyleSheet object from a