W3C home > Mailing lists > Public > www-style@w3.org > June 2013

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

From: Lea Verou <lea@w3.org>
Date: Tue, 4 Jun 2013 11:45:26 -0700
Cc: www-style@w3.org
Message-Id: <496CB1EB-394C-4EE2-BA1B-B4B32589F310@w3.org>
To: fantasai <fantasai.lists@inkedblade.net>
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

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