Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
=border-corner-radius(!vert, !horz, !r)
/* Mozilla (FireFox)
-moz-border-radius-#{!vert}#{!horz}= !r
/* Webkit (Safari, Chrome)
-webkit-border-#{!vert}-#{!horz}-radius= !r
/* CSS3
border-#{!vert}-#{!horz}-radius= !r
=border-top-left-radius(!r)
+border-corner-radius("top", "left", !r)
=border-top-right-radius(!r)
+border-corner-radius("top", "right", !r)
=border-bottom-right-radius(!r)
+border-corner-radius("bottom", "right", !r)
=border-bottom-left-radius(!r)
+border-corner-radius("bottom", "left", !r)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.