Advertisement
Guest User

Untitled

a guest
Oct 17th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. const getBevelClipPath = bevelRadius => `
  2. clip-path: polygon(${bevelRadius} 0, calc(100% - ${bevelRadius}) 0, 100% ${bevelRadius}, 100% calc(100% - ${bevelRadius}), calc(100% - ${bevelRadius}) 100%, ${bevelRadius} 100%, 0% calc(100% - ${bevelRadius}), 0% ${bevelRadius});
  3. `
  4. //getBevelClipPath('4px')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement