W3C home > Mailing lists > Public > www-style@w3.org > June 2009

Re: Proposal: background-image-opacity or background-opacity

From: David Woolley <forums@david-woolley.me.uk>
Date: Thu, 04 Jun 2009 08:41:59 +0100
Message-ID: <4A277AC7.6020102@david-woolley.me.uk>
To: www-style@w3.org
Mark wrote:

> 
> First let me explain how i made this idea up.
> Right now i'm tyring to make image hovers that fade in with
> javascript. The way to do that now is by making 3 divs.
> Not the fading in is the reason multiple elements are needed. Actually
> a container + the possible states (normal and hover).

> That's 2 divs overkill but currently the only way to get it done.
> 
> Now with the css 3 backgrounds module multiple backgrounds are going
> to be supported. Webkit has support for it and Gecko is in the

Whether an image is background or foreground should be a fundamental 
part of the information design.  If image elements were the right 
choice, you need to find, or have created, a way of applying your 
desired styling to image elements, not change to background content just 
to get the styling.

However, I can't help wondering whether this really is an HTML/CSS 
application, rather than being better suited to SVG.
-- 
David Woolley
Emails are not formal business letters, whatever businesses may want.
RFC1855 says there should be an address here, but, in a world of spam,
that is no longer good advice, as archive address hiding may not work.
Received on Thursday, 4 June 2009 07:42:37 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:18 GMT