Is a CSS property starting with a hash (#) valid?

前端 未结 6 466
抹茶落季
抹茶落季 2020-12-03 17:59

What does the following CSS do and is it valid?

h4 {
    width: 83%;
    #width: 75%;
}
6条回答
  •  囚心锁ツ
    2020-12-03 18:53

    using # before a property is applying different css style for ie 7. Is a css hack like *. To make it valid you can use conditional comments for ie.

提交回复
热议问题