how to call browser based css?

后端 未结 8 1385
粉色の甜心
粉色の甜心 2020-12-04 01:48

we can get the browser name from javascript but is there any way to change css accordingly.I mean some classes of css file because I dont want to link another css file , I

8条回答
  •  南笙
    南笙 (楼主)
    2020-12-04 02:15

    I have done this in the past with conditional includes. Detect the browser from its headers, then include a .css file based on the condition

提交回复
热议问题