OSDN Git Service

CSS gradient fix
authorAndrew Dotey <andrew@kbmj.com>
Mon, 8 Aug 2011 02:15:42 +0000 (11:15 +0900)
committerAndrew Dotey <andrew@kbmj.com>
Mon, 8 Aug 2011 02:15:42 +0000 (11:15 +0900)
public/stylesheets/smartphone/smartphone.css

index 4673be7..7dbb9c3 100644 (file)
@@ -108,7 +108,7 @@ div.img
        border-bottom: solid 1px #c34554;\r
        background: white; /* fallback for older/unsupporting browsers */\r
        background: -moz-linear-gradient(bottom, #d27a84, white 30%);\r
-       background: -webkit-linear-gradient(bottom, #d27a84, white 30%);\r
+       background: -webkit-gradient(linear, left bottom, left top, from #d27a84, to #fff, color-stop(.3, #fff);\r
 }\r
 \r
 div.img img\r