How do I add a css line ONLY for Safari

后端 未结 7 1498
轮回少年
轮回少年 2020-12-28 11:03

I am making a website, but an element needs margin in Chrome and other browsers, but not in safari. So I want to add a css line to fix it, but I can\'t find any method to ad

7条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-28 11:09

    I have tried almost all of the above-suggested solutions, but nothing is working around until I saw a piece of code in my says:

    @-webkit-keyframes fadein { //code here }

    And it did the job and applied the required CSS for: Safari, Chrome and Opera > 12.1

    Hope this can help someone.

提交回复
热议问题