css - How to target firefox or any other browser in SCSS? -


what trying do? glyphicon not behaving in firefox. misaligned. looks great in chrome , safari alignment. solve this, trying write rule apply if mozilla browser.

is there way detect browser in scss using directives @if. following:

@if $browser == mozilla {     //apply css    .pull-right.glyphicon.glyphicon-chevron-right {     top: -13px;     line-height: 0.5 !important; } 

do have simple way detect? asking because, tried using @moz-document url-prefix() isn't working in scss.

i have seen question asked here there no correct solution problem.

any or guidance appreciated. thank you.


Comments

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -