W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2019

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

From: Christoph Päper via GitHub <sysbot+gh@w3.org>
Date: Thu, 17 Oct 2019 16:32:52 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-508590967-1571329971-sysbot+gh@w3.org>
Crissov has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-backgrounds] Make box-shadow a Shorthand Property ==
- [Level 3 `box-shadow`](https://drafts.csswg.org/css-backgrounds-3/#box-shadow)
- [Level 4 `box-shadow`](https://drafts.csswg.org/css-backgrounds-4/#box-shadow)

```` abnf
box-shadow: none | <shadow>#
<shadow>: <length>{2,4} && inset? && <color>?
````

Since box shadows are frequently altered on hover etc., but not all of its components need to change, can we make them available independently?

```` abnf
box-shadow-color: <color>
box-shadow-offset: <length>{2} ; x/horizontal y/vertical
box-shadow-blur: <length>      ; or 'box-shadow-radius'
box-shadow-spread: <length>    ; or 'box-shadow-distance'
box-shadow: none | <shadow>#
<shadow>: [<'box-shadow-offset'> [<'box-shadow-blur'> <'box-shadow-spread'>?]?] \ 
          && [inset || <'box-shadow-color'>]?
````

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4431 using your GitHub account
Received on Thursday, 17 October 2019 16:32:54 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:54 UTC