jessicamarcus
6/5/2015 - 2:33 PM

target specific browsers

target specific browsers

// if push comes to shove...

// try to detect ie10+
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    // styles
}

// safari
$(document).ready(function () {
        if (!!navigator.userAgent.match(/Version\/[\d\.]+.*Safari/)) {
            $('element').addClass('is-safari');
        }
    });