kodsnutters

pluppfisk's storage space for nifty little webbie things

Wednesday, 1 September 2010

How-to: special css for Google Chrome/Safari

 
/* These styles are especially for  Safari and Google Chrome */
@media screen and (-webkit-min-device-pixel-ratio:0)
{
 div
 {
color: red;
 }
}

sources:
 http://acidmartin.wordpress.com/2009/07/30/hack-for-safari-and-google-chrome-redux/
http://stackoverflow.com/questions/2447511/can-you-target-google-chrome-yes-you-can
at 04:48
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: browser, chrome, css, safari
Newer Post Home

links storage

  • A List Apart
  • jQuery
  • stackOverflow
  • Paul Irish.com

Blog Archive

  • ▼  2010 (7)
    • ▼  September (7)
      • hide elements based on select value with jquery
      • todays error message:
      • JQuery HowTo: Google Feeds API - jQuery plugin
      • JQuery HowTo: jQuery image swap or How to replace ...
      • How to make a Facebook feed using the Graph API, J...
      • js - check if a value is undefined or null
      • How-to: special css for Google Chrome/Safari
Awesome Inc. theme. Theme images by sebastian-julian. Powered by Blogger.