Re: [csswg-drafts] [css-backgrounds] Make box-shadow a Shorthand Property (#4431)

> I guess `text-shadow` may also need this. @Loirooriol 

It is very important, because a change of text-shadow color causes a `Layout` of a document. But a change of text-shadow offset causes only a `Composite Layers`. (I have tested in a google chrome)

I build a demo about this:

For block `.a` hover-animation: 

For block `.b` hover-animation: 

It can be used, for example, when you want to shift a text for hovered button without a div-wrapper inside, like this:

GitHub Notification of comment by ariarzer
Please view or discuss this issue at using your GitHub account

Sent via github-notify-ml as configured in

Received on Thursday, 20 May 2021 20:51:22 UTC