Is there a way to do browser specific conditional CSS inside a *.css file?

前端 未结 8 2111
借酒劲吻你
借酒劲吻你 2020-12-11 15:13

Is there a way to do browser specific conditional CSS inside a *.css file? I want to define all of the styles inside of the same physical file.

8条回答
  •  甜味超标
    2020-12-11 15:52

    No. The whole purpose of using CSS files is that each file represents particular style. If you want to write scripts, you should use PHP or something like that, CSS is merely a description of a single style.

提交回复
热议问题