For Chrome and Firefox browser you can use use conditional style for in style sheet see the example below For Google Chrome @media screen and (-webkit-min-device-pixel-ratio:0) { .test{ color:red; } } For Firefox @-moz-document url-prefix(){ .test{ color:red; } } If…