Skip to content

Support for autoprefixer/postcss for -webkit-* css rules #15

@ErwinAI

Description

@ErwinAI

Generating for an element that has a class requiring -webkit-* css rules to work in a specific browser, doesn't work as expected.

Required is adding 'autoprefixer' package to the plugins list of PostCSS.
https://tailwindcss.com/docs/browser-support#vendor-prefixes

example
Input:

<div class="bg-clip-text"></div>

Output:

.bg-clip-text {
    background-clip: text
}

Expected output (in Chrome):

.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions