Saturday, May 06, 2006

Viva Bunbury



...if our page
is darksalmon then the
pullquote area that is darksalmon
will be blended with20% white...






Here we are starting out with an opacity of 20%.


The filter:alpha(opacity=20) is the syntax for Internet Explorer while -moz-opacity:0.2 is the syntax for Mozilla. Anything we put in the div is set to transparent so the white background will
blend with the
display of the child element.
That means that if our page background is darksalmon then the pullquote area that is darksalmon will be blended with 20% white. The full effect looks like this.



Brown Text with White Background

The result is best in Internet Explorer
when a background color is defined.
The desired opacity effect is achieved in
Mozilla and IE.



 
perpetrado por Harry Reddish ۞ 3:57 AM |


1 Comments:


At 1:55 PM, Anonymous Anonymous

no es salmón es color lúcuma