- From: <Matthew.van.Eerde@hbinc.com>
- Date: Fri, 9 Apr 2004 14:24:54 -0700
- To: www-style@w3.org
> From: Alan Plum [mailto:ashmodai@mushroom-cloud.com] > > /Anne van Kesteren (fora)/: > > > > What about if one want to change only the "alpha" component of an > > unknown color? > > > > What about if one wants to change only the red component of > an unknown > color? > > Right now relative colors aren't possible. So that also goes for > relative opacity of colors. > > -ap This begs the question - is opacity a property of color? Probably not in the same sense that red is a property of color. I believe Anne's point is that it would be nice to control the opacity of an element's background independently from the opacity of the content or the color of the background. Consider something like <p id="matt"> blah blah <img> </p> Then it would be nice to say something like p#matt { position: fixed; top: 20px; right: 20px; height: 50px; width: 50px; background: url(linoleum.gif); background-opacity: 20%; opacity: 80%; } p#matt img { opacity: 100%; } This would allow strong visibility through the background, light visibility through the text, and an opaque image (which might otherwise look very strange, depending on what was beneath it.) Matthew.van.Eerde@hbinc.com 805.964.4554 x902 Hispanic Business Inc./HireDiversity.com Software Engineer perl -e"print join er,reverse',','l hack',' P','Just anoth'"
Received on Friday, 9 April 2004 17:24:56 UTC