Re: Possible text-shadow enhancements

On Mar 1, 2011, at 5:27 PM, Brian Manthos wrote:

>> From: [] On
>> Behalf Of Simon Fraser
>> The problem with spread radius, which we already discussed in the context
>> of box-shadow, is whether it makes sharp corners rounded. This is especially
>> problematic with border-radius, because you have a potential discontinuity
>> between zero border radius causing spread to retain sharp corners, and a any
>> small, but non-zero radius resulting in in a shadow with obviously rounded
>> corners.
>> I think people will be more sensitive to this in the context of text, and that
>> text stroke gives a more predictable visual result.
> These two drafts agree: "<shadow> is the same as defined for the ‘box-shadow’ property except that the ‘inset’ keyword is not allowed."

I don't see any good reason to disallow inset shadows. I think you can create some nice effects with those:

The bottom example has 3 inset shadows and one outer. The top one has one inset and one outer.

Received on Wednesday, 2 March 2011 06:32:14 UTC