Clip Path: Cannot find name 'circle' #877
Answered
by
michaeltaranto
asingleton6
asked this question in
Q&A
-
I tried using the |
Beta Was this translation helpful? Give feedback.
Answered by
michaeltaranto
Oct 10, 2022
Replies: 1 comment 1 reply
-
Hey 👋 , when using built in CSS functions they need to be passed as a string value for the property (i.e. wrapped in quotes), so in this case: export const finishCheckbox = style({
- clipPath: circle("50px at 0 100px"),
+ clipPath: 'circle(50px at 0 100px)',
}); Also worth noting the values passed to the shape should not be quoted as per the clip-path documentation. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
asingleton6
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey 👋 , when using built in CSS functions they need to be passed as a string value for the property (i.e. wrapped in quotes), so in this case:
Also worth noting the values passed to the shape should not be quoted as per the clip-path documentation.