html - Targeting chrome not safari scss -


i looking way target chrome browsers within mixin in scss.

@mixin {  &:after {  border-bottom:black;     @media screen , (-webkit-min-device-pixel-ratio:0) { border-bottom: red; }    }  } 

this targets both safari , chrome @ moment.

there no particular hack css alone whereas can override css of safari

for webkit

@media screen , (-webkit-min-device-pixel-ratio:0) {     .class{color:red;} } 

safari override

::i-block-chrome,.class {  color:blue; }} 

Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -