Skip to content

PostCSS plugin to solve problem when using border-radius + overflow: hidden + transform

License

Notifications You must be signed in to change notification settings

azl397985856/postcss-safari-border-plugin

Repository files navigation

PostCSS Safari Border Plugin Build Status

PostCSS plugin to solve problem when using border-radius + overflow: hidden + transform.

for more info, please visit https://bugs.webkit.org/show_bug.cgi?id=98538

also, here is a gist

What it does

.foo {
    overflow: hidden;
    border-radius: 10px;
}
.foo {
    overflow: hidden;
    border-radius: 10px;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

Usage

postcss([require("postcss-safari-border-plugin")]);

See PostCSS docs for examples for your environment.

About

PostCSS plugin to solve problem when using border-radius + overflow: hidden + transform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages