Color:Green with Background:White
...if our page
is beige then the
pullquote area that is beige
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 beige then the pullquote area that is beige will be blended with 20% white. The full effect looks like this.
Green Text with White Background
Well, we haven't given up yet.
This did take most of the evening and
the result is not good in Internet Explorer
unless we make the background a color
(we are using white here).
The desired opacity effect is achieved in
Mozilla but hasn't been tweaked, just coded for demonstration.
No comments:
Post a Comment