CSS1 attribute addition proposal: bg-transparency
To: "'firstname.lastname@example.org'" <email@example.com>
Subject: CSS1 attribute addition proposal: bg-transparency
From: James Miller <firstname.lastname@example.org>
Date: Fri, 22 Mar 1996 10:32:55 -0800
From email@example.com Fri Mar 22 13: 38:50 1996
I am new to this list, and new to CSS style sheets, but I have been studying the spec intently for the last couple of weeks, and for my purposes I can find really only one thing missing that would be really useful:
Value: number | percentage
Applies to: all elements
Percentage values: refer to background's opacity
This property describes a degree of transparency for the element. It differes from the 'background: transparent' attribute in that it allows for a background color or image to be specificed and determins the opacity of that background in regards to elements behind it.
Values range from 0-255, or 0% to 100%, with 0 meaning not transparent at all (that is, completely opaque), and 255 or 100% meaning fully transparent (equivilant to background: transparent).
BODY ( background: "pattern.gif")
THEAD ( background: red; bg-transparency: 75% )
In the above example, the red background of the table header would be just visable with the pattern in the background showing through.
What do others on this list think? To me it seems complimentary to background: transparent tag, while providing a lot more functionality and design options, and seems like it adheres to the spirit of the specification.