On Thu, Dec 26, 2013 at 2:39 PM, Tab Atkins Jr. <jackalmage@gmail.com>wrote:
> On Mon Dec 23 2013 at 11:38:37 PM, Simon Fraser <smfr@me.com> wrote:
>
>> An alternative to this would be to have an image function that gives an
>> image alpha, e.g.:
>>
>> background-image: alpha-image(foo.png, 50%);
>>
>> This would seem preferable to a property that can only apply alpha to
>> background images.
>>
>
> This already exists, in the form of cross-fade(). The default value of
> the second argument is "transparent", so "cross-fade(url(foo.png) 50%)"
> will give you a half-transparent image.
>
So, we have 2 ways of controlling the opacity of a background image
(cross-fade and filter(..., opacity())) but they both suffer from the issue
that you have to repeat all the CSS images to make the transition/animation
work.
Alan, David, are you OK with this?