Skip to content

[css-backgrounds][css-logical-props] Consider defining logical values for <angle> #975

@jonathanKingston

Description

@jonathanKingston

In the linear gradient syntax and transform rotate() function currently isn't able to use logical angles.

Such that to get a background to follow the direction of the text would require JavaScript.

If a developer were to use:

background: linear-gradient(logical 1deg, white, black);

The rotation of the linear gradient in rtl language might be -1deg.

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