Targeting Chrome and Firefox With CSS

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 you are looking for particullary browser you can go to this website http://browserhacks.com/

Leave a Reply

Your email address will not be published. Required fields are marked *