Remove/reset CSS behavior property

后端 未结 3 1672
天命终不由人
天命终不由人 2021-01-07 16:18

Is it possible to remove the IE-specific behavior CSS property via a more specific rule or the !important declaration? Example:

.a-rule
{
  beha         


        
3条回答
  •  一生所求
    2021-01-07 17:15

    .a_rule {
      border: 1px solid black; /* we know border is black */
      behavior: url(/some.htc) /* we know something happen inside some.htc */
    }
     .a_rule.more-specific {
      border: 0 none; /* we remove the border */
      behavior: url(/some.htc) /* we remove something inside some.htc */
    }
    

    use different .htc file

提交回复
热议问题