Re: [css4-background] use cases for 'border-corner-shape'?

I came across a gorgeous use case today for both the bevel (in multiple places) and the scoop values: http://www.losttype.com/klinic/?s=eee

Lea Verou
W3C developer relations
http://w3.org/people/all#leahttp://lea.verou.me ✿ @leaverou






On Mar 26, 2013, at 14:18, fantasai <fantasai.lists@inkedblade.net> wrote:

> On 03/24/2013 03:50 PM, Lea Verou wrote:
>> I’ll try to find some additional good examples.
>> 
>> Elika, since you added the property, maybe you had some good existing use cases in mind?
> 
> The major one for 'bevel' was to allow the shapes that are used in certain
> kinds of breadcrumb trails and tabs: some styles uses slanted tabs rather
> than curved-corner ones, and I've seen breadcrumb trails that look like
>  ____________________
> |     \       \       \
> |______\_______\_______\
> 
> or
>   ____________________
>  | ... \  ... \  ...  \
>  |_____/______/_______/
> 
> (Earlier designs of the Launchpad bug tracker did this, for example.)
> 
> Another use case was to give shapes that would commonly allow the hit-testing
> (and background-painting) area to more closely approximate fancy-cornered
> border images.
> 
> ~fantasai
> 

Received on Tuesday, 4 June 2013 18:45:33 UTC