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/

57 thoughts on “Targeting Chrome and Firefox With CSS

  1. Kamilah

    I was wondering if anyone knows what happened to Dimepiece Los Angeles celebrity streetwear brand? I cannot proceed to the checkout on Dimepiecela site. I’ve read in Women’s Health Mag that the brand was acquired by a UK hedge fund in excess of $50 million. I’ve just bought the Dimepiece Friends Journal from Amazon and totally love it xox

  2. Sylvie

    I was wondering if anyone knows what happened to Dimepiece LA celebrity streetwear brand? I seem to be unable to check out on Dimepiecela site. I’ve read in Cosmopolitan that the brand was acquired by a UK hedge fund in excess of $50m. I’ve just bought the LA OG Heavy Blend Crewneck Sweatshirt from Ebay and absolutely love it xox

Leave a Reply

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