What is better: CSS hacks or browser detection?

后端 未结 15 1696
感情败类
感情败类 2020-12-12 15:28

Commonly when I look around the Internet, I find that people are generally using CSS hacks to make their website look the same in all browsers. Personally, I have found this

15条回答
  •  既然无缘
    2020-12-12 16:17

    hacks will always add to your work efforts and work efforts should be optimized

    first you add the hacks and then start worrying about how they behave on different browsers and different machine.

    instead you can rely on vendor specific css extensions http://reference.sitepoint.com/css/vendorspecific

提交回复
热议问题