css for internet explorer only

@media all and (-ms-high-contrast: none), 
               (-ms-high-contrast: active) {
  /* IE10+ CSS styles goes underneath */
  #ie11 h2 {
    color: #fff;
  }
  #ie11 h2:hover {
    color: gray;
  }
}

4
2
Kjo 105 points

                                        @media all and (-ms-high-contrast:none)
     {
     .foo { color: green } /* IE10 */
     *::-ms-backdrop, .foo { color: red } /* IE11 */
     }

4 (2 Votes)
0
Are there any code examples left?
Create a Free Account
Unlock the power of data and AI by diving into Python, ChatGPT, SQL, Power BI, and beyond.
Sign up
Develop soft skills on BrainApps
Complete the IQ Test
Relative searches
how to add css for ie only how to style css IE only css style only for internet explorer apply CSS for only Internet Explorer browser in css style for ie only css how to apply css only for internet explorer apply css only for ie can you add css values only specifically for Internet explorer style only for ie css class only for internet explorer supported internet explorer css disable css for internet explorer only add ie support to any css only ie css css style only for ie 11 how to apply styles only for ie how to write css code for ie only separate css for ie css style for ie browser only internet explorer only style css @include ie only internet explorer css write css for ie only ie scss how to apply style only for ie add style for IE css tricks internet explorer css check ie add padding in ie only How to target only IE (any version) within a stylesheet styling for ie internet explorer css only css .ie only css target only if not ie media query target internet explorer css styles specific to IE css set with only for ie IE body HTML only styling only for IE browser how to apply css only on ie IE specific styles css only for IE browser seperate stylesheet for IE add padding in ie only css style only for ie in css internet explorer 11 apply style css how to make specific IE styling how to use css only on internet explorer css style for browser specific ie css style for ie only css only internet explorer link styles for explorer only css rule just for internet exoplorer -moz-available css for internet explorer css styles for internet explorer css ie specific style how to write css for ie only how to add a body class only for internet explorer 11 styling only for ie specific style for ie css select only IE select only IE css how to write css for internet explorer add css only internet explorer ie css file css for ie only write css for not for ie write css for only ie apply style only for ie css internet explorer css class specific to internet explorer css target just ie css ie ie css add css only for ie how to apply css only for ie browser for IE specific css media query ie 6 7 8 9 10 11 apply css to internet explorer only css only in ie css only apply to internet exploror use css only in internet explorer apply css only in ie css only for internet explorer define height on scss only IE css styles for ie only paste css and check if IE 11 supports apply css only for ie broweser set css height for IE browsers only ie browser specific css specify styling for ie in css css internet explorer specific write code only for ie specify internet explorer in css set scss for ie only set css for ie only set css property for ie only apply css only for ie browser scss only work on IE IE espacifice css internet explorer only css how to write css only for ie edge browser css internet explorer only IE css if browser is ie then apply css css dont use in internet explorer css ie only css only for ie css set code just for ie run css for ie only css for internet explorer css only run in ie css for internet explorer only ie specific css ie only css styles only for IE
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source