- 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
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