Re: [css4-background] 9-part slicing images in background-image

On 23/07/2013, at 9:57 AM, "Tab Atkins Jr." <jackalmage@gmail.com> wrote:

> On Mon, Jul 22, 2013 at 4:44 PM, Dean Jackson <dino@apple.com> wrote:
>> It would be very nice if the background-image property provided the same functionality as border-image with slicing and stretching 9-part images. Of course there would be some syntactic issues, but 9-part designs are very popular and powerful, especially with responsive designs. It is a shame they are only supported by borders.
>> 
>> Is there interest in such an enhancement?
> 
> If so, I feel strongly that it should be a generic image manipulator,
> rather than a specialization for 'background'.  Being able to 9-slice
> an image and specify stretching behavior sounds possibly useful!

I (we) didn't want to get to specifics before seeing if there was interest, but yes, I think we agree. SimonF spitballed something like nine-part(url(image) 10 10 5 5)

Dean

Received on Tuesday, 23 July 2013 00:05:46 UTC