Skip to content

[css-backgrounds] Does stripes() progress inwards or outwards? #8172

@Loirooriol

Description

@Loirooriol

https://drafts.csswg.org/css-backgrounds-4/#the-border-color

The stripes defined by <image-1D> follow the shape of the border on the side to which they apply, and are drawn in bands starting from the padding edge and progressing outwards.

But then in the example the colors seem to progress inwards??

border-color: stripes(skyblue, black) stripes(orange, yellow) stripes(yellowgreen, black) stripes(indianred, yellow);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions