Chrome and CSS attribute selector

后端 未结 3 1811
小鲜肉
小鲜肉 2021-01-13 06:16

I have the following HTML code, where I would like to format with css a data format (coming from xml) which can\'t be changed.

I have to give different styles to el

3条回答
  •  没有蜡笔的小新
    2021-01-13 06:57

    For some unknown reason, Chrome is rather strict on HTML tags thus the CSS rule won't work well in the said browser.

    A suggestion though, why don't you style the XML instead?

提交回复
热议问题