RE: [css3-background] box-shadow spread Multiple Choice Question

Brad Kemper:
> > Brad Kemper:
> >> And as I've said in the past, spread is not something created in
> >> order to simulate some phenomenon observed in nature. It is intended
> >> to give greater control of the placement and extent of the shadow at
> >> a level consistent with what is commonly available when creating
> >> shadows in familiar ways using tools such Photoshop.
> >
> > Is this the only place in CSS3 that gives authors a way to apply such an
> shape-derivation effect?
> 
> No. The shape of the inside of a border is different from the shape of the
> outside of the border, in the same sort of way. 'Outline-offset' should do the
> same sort of offsetting to border-radius (but in practice doesn't seem to pay
> attention to border-radius at all yet).

Ah, so if shadow became just a scaling then the (Photoshop-esque) spread effect could still be achieved with multi-element border shenanigans (which is still better than bitmaps, IMO)?

- Brian

Received on Tuesday, 8 June 2010 19:59:03 UTC