SHARE
TWEET

Untitled

a guest Oct 17th, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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')
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top