How do I target only Internet Explorer 10 for certain situations like Internet Explorer-specific CSS or Internet Explorer-specific JavaScript code?

前端 未结 25 3078
谎友^
谎友^ 2020-11-22 06:19

How do I target only Internet Explorer 10 for certain situations like Internet Explorer-specific CSS or Internet Explorer-specific JavaScript code?

I tried this, but

25条回答
  •  执念已碎
    2020-11-22 06:32

    For me the following code works fine, all conditional comments are working in all IE versions:

    
    
    
    
      
    
    
    

    I'm on windows 8.1, not sure if it's related to ie11 update...

提交回复
热议问题