- From: fantasai <fantasai.lists@inkedblade.net>
- Date: Mon, 1 Feb 2021 15:42:21 -0800
- To: Steve Comstock <steve@stillpluggingaway.com>, www-style@w3.org
- Cc: jackalmage@gmail.com, lea@verou.me
On 2/1/21 9:33 AM, Steve Comstock wrote: > Trying to use this document in creating a course > for HTML / CSS / JavaScript / php. Yes, another > one. > > Anyway, I have some thoughts on this document and > the backgrounds and borders document. > > It took me a while to realize that the gradients > were images, and that they need to be specified > as part of the 'background' attribute. > > Then it took me some time to find out that 'background' > is a shorthand for multiple background- attributes. > > So maybe your examples should not just say, for example, > linear-gradient(yellow, blue); > but instead put it in context > background: linear-gradient(yellow, blue); > or > background-image: linear-gradient(yellow, blue); > > The 'images' and 'backgrounds' documents should certainly > cross reference each other. Hi Steve! There's cross-references in section 1.1 Module Interactions: https://www.w3.org/TR/css-images-3/#placement There's examples with background and list-style image at the top of section 3 Gradients: https://www.w3.org/TR/css-images-3/#gradients The rest of the examples don't use 'background' because we're defining the image type in general and gradients, like images in general, are not restricted only to background-image, but can also be used in other properties that accept images, like list-style-image and border-image. ~fantasai
Received on Monday, 1 February 2021 23:42:42 UTC