Skip to content

[css-images-4] minor error in Conic Gradients example #3355

@faceless2

Description

@faceless2

The image in example 17 doesn't match the CSS used to create it.

  • the order of colors in the conic gradient is reversed
  • the radial gradient will not be transparent at the edge of the circle; the radius is based on the diagonal of the box, so it's about 106px, not 75px.

To match the image, change the background property in the CSS to:

background: radial-gradient(gray, transparent 70.7%),
            conic-gradient(red, magenta, blue, aqua, lime, yellow, red);

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions