RE: [css4-images] First draft of css4-images, feedback requested

I think “background” has been (ab)used enough.

If the feature is important, make it part of image() not background.

-Brian

From: Aharon (Vladimir) Lanin [mailto:aharon@google.com]

> Something like
> background-image-transformation: brightness(0.7) flip-x;
> background-image-transformation: flip-y;
> background-image-transformation: rotate(90deg);
> background-image-transformation: transparent(rgb(255,255,0));
> background-image-transformation: shadow(1,1,2px);
> etc.
>
> Such filters actually could be a part of the image() thing:
>
> image( a.png flip-x-if(rtl) )
> image( b.png flip-x-if(ltr) )
> image( c.png rotate-if(ttb,90deg) )
> image( d.png brightness(0.7) flip-x-if(rtl) )
>
> etc.

Received on Tuesday, 7 August 2012 19:39:45 UTC