I love that you can do semi-transparent bg colors with CSS3 (as opposed to having to do entire element semi-transparent…)
example of semi-transparent bg color…
background-color: rgba(0,0,255,0.5);
but how about when the colors are gradients? how do I make these bg-colors semi-transparent?
[INDENT]background: -webkit-gradient(linear, left top, left bottom, from(#cfaa8a), to(#a37956));
background: -webkit-linear-gradient(top, #cfaa8a, #a37956);
background: -moz-linear-gradient(top, #cfaa8a, #a37956);
background: -ms-linear-gradient(top, #cfaa8a, #a37956);
background: -o-linear-gradient(top, #cfaa8a, #a37956);
[/INDENT]
this code is from this button-generator site:
http://css-tricks.com/examples/ButtonMaker/#
(in all these btn-gen sites I never find how to change the angle or effect of the gradient, do bevel and emboss, etc… oh well… I love all the stuff you can do with CSS3, but it’s very code-intensive (i.e., labor-intensive… and having to do rgb colors instead of HEX is a lot of fun…
thank you…