I want the background picture not to be displayed in the IE. How do I do that?

后端 未结 8 1503
暗喜
暗喜 2020-12-22 05:04

Here\'s the CSS , and I want the background picture not to be displayed in IE . Instead I just want the background color to be displayed. How do I do that?

h         


        
8条回答
  •  清歌不尽
    2020-12-22 05:21

    use conditional statement.

     
    

    If version specific, you can mix the code like this -

     
    

    created a rough tested code, and checked in IE 9 -

     
    
    
    
    
    
    
    

    EDIT

    Conditional statements wont work for IE10 so you can manage it via media queries.

    Example thread - https://gist.github.com/atk/4025104

提交回复
热议问题