1

Is there a css hack that I can use that only works on safari cos have been looking for a while and still found nothing.

Thanks in advance.

Kara
  • 6,115
  • 16
  • 50
  • 57
Hive7
  • 227
  • 2
  • 13

2 Answers2

1

I hope it will use.

@media screen and (-webkit-min-device-pixel-ratio:0) { 
    /* It will effect both safari and chrome
    .myClass {
     color:red;
    }

    /* to only effect on safari, you can add this 
    ::i-block-chrome,.myClass {
     color:blue;
    }
}
0

CSS hacks are property specific to that browser, rather than browser specific to all properties.

Meaning, you may find a hack that can adjust the font in safari and not effect font in other browsers. However, you cannot use CSS hacks to change all properties in a specific browser.

Hope that helps!

Derek Story
  • 9,518
  • 1
  • 24
  • 34