cssinjs / cssinjs/css-vendor

Property clip-path

Open
#74 2 comments 6 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
67
Forks
21
PR merge metrics
No merged PRs in 30d

Description

Reported here https://github.com/mui-org/material-ui/issues/9293#issuecomment-463036973
```
Automatic prefixing when needed is not working as expected. I'm trying to use clip-path, which needs to be prefixed in Safari.

`myStyle: { clipPath: 'polygon(0% 0%, 100% 0%, 100% 250px, 0% 100%)', }`

When I view my page in Safari and inspect that code, there is no vendor prefix for clip-path. I'm using Material UI core v3.9.0 and JSS v9.8.7 with jss-preset-default.
```

https://codesandbox.io/s/o40xvvrq25

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.