Friday 15 May 2015

How can i target a browser using css media query? -


I have to target IE using media queries. For example,

  @ media screen and (max-width: 1024px) {/ * only IE is here / / * * another browser * / @ -moz-document url-prefix ( ) {# Category Backextboton {Width: 486px; }}   

Is there a similar way for Firefox?

I know this is an old topic, but I'm only looking for a single question And got the answer (looking at this while searching). If anyone else knows this, then what is it for me (IE 10/11, Firefox 39.0)

IE: @ Media Screen and (-Ms-High-contrast: Active ), (-MS) Firefox: @ -moz-document url-prefix ()

No comments:

Post a Comment