Skip to content

linear-gradient mixin can only be used in background-image property #33

@teohhanhui

Description

@teohhanhui

This means I cannot write the following perfectly valid CSS:

background: linear-gradient(...);

or even assign the linear-gradient value to a variable:

my-gradient = linear-gradient(...)

There must be a better way of doing this... I believe if/when we override CSS built-in property/function name, we should always make sure not to break anything (otherwise it cannot be known as "transparent" as what Stylus docs calls it).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions