Skip to content

Auto Prefix replacement #1199

Closed
Closed
@lukeapage

Description

@lukeapage

A really popular issue is the ability to have variable properties.. but the main/only use-case I've seen is prefixes.

I saw that stylus supports automatically expanding properties with prefixes..

For cases where the syntax is different we suggest people use a mixin for that property and alter the arguments to work with different versions.

For cases where the syntax is the same, I suggest we have

-*-gradient: blah;

which is transformed to a set of prefixes

-webkit-gradient: blah;
-ms-gradient: blah;
-mozilla-gradient: blah;

which can be overridden with a option

--prefixes=ms,webkit

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