W3C home > Mailing lists > Public > www-style@w3.org > February 2014

Re: [css3-background] Corner clipping for images and gradients

From: Brad Kemper <brad.kemper@gmail.com>
Date: Mon, 10 Feb 2014 16:07:00 -0800
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>
Message-Id: <B2720349-DED4-41A0-B268-50E095BAE5B7@gmail.com>
To: Sebastian Zartner <sebastianzartner@gmail.com>

On Feb 10, 2014, at 2:23 PM, Sebastian Zartner <sebastianzartner@gmail.com> wrote:

>> > Since clipping at the border only makes sense when you have 'border-image-offset:0'
> I guess with 'border-image-offset' you mean 'border-image-outset'.

Yeah, sorry. 

> I attached an ZIP file containing an example for what I have in mind. In there you'll also see why clipping also makes sense in combination with 'border-image-outset'.
> Please note that the used styles are not 100% correct, since you currently can't have a border color and a border image at the same time and also would need to be able to set different border widths for both. It should just illustrate some use cases of border clipping.
> Sebastian
> <borderImage.zip>

A picture or link that I didn't gave to view source on would be better, since I am reading this on my iPhone. 
Received on Tuesday, 11 February 2014 00:07:30 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:19 UTC