[Webkit-unassigned] [Bug 39938] provide a webkit equivalent for -moz-border-*-colors (multiple border colors)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 30 22:26:11 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=39938





--- Comment #1 from Giorgio <giorgio.liscio at email.it>  2010-05-30 22:26:11 PST ---
an interesting solution can be use box shadows

but with rgba and hsla colors outer shadow color is mixed with the inner shadow color

test this:

<style>
.test
{
-webkit-box-shadow:
0 0 0 10px rgba(255,0,0,0.5)
,
0 0 0 20px rgba(0,255,0,0.5)
;
margin:30px;
}
</style>
<div class="test">test</div>

inner shadow (red) is mixed with the outer shadow color (green)

so in the box-shadow property can provide a way to set the outset position of the shadow

for example...

-webkit-box-shadow:
0 0 0 10px rgba(255,0,0,0.5)
,
0 0 0 10px [10px 10px 10px 10px] rgba(0,255,0,0.5)
;

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list