So I would like to make the border faded. I have the exact webkit-gradient settings that I want.
But not sure how to implement it on the border element.
Is it possible? How do I do that?
Only CSS3 please.
Btw, I tried the following CSS and it didn't work:
border-color: -webkit-gradient( linear, left bottom, left top, color-stop(0.74, rgb(214,11,11)), color-stop(0.39, rgb(175,13,13)), color-stop(0.07, rgb(157,22,22)));
border-style: solid;
border-width: 10px;
If anybody is interested, this is how I applied a right border gradient on a div where the top and bottom ends fade out. Seems like it took forever to figure out... This is only for Safari as doing the same thing in Firefox is a lot easier...
http://jsfiddle.net/fkFec/1102/
http://www.cssportal.com/css3-preview/borders.htm Nice little article
Yes, you can apply
-webkit-gradient
to a border:(from this example on webkit.org)
See the blog post on Webkit.org about
-webkit-gradient