Skip to content

Instantly share code, notes, and snippets.

View Tom-Millard's full-sized avatar
🏠
Working from home

Tom Millard Tom-Millard

🏠
Working from home
View GitHub Profile
$default_rounded_amount: 5px
// Round corner at position by amount.
@mixin round-corner($position, $amount: $default_rounded_amount)
border-#{$position}-radius: $amount
-webkit-border-#{$position}-radius: $amount
@mixin round-corner-mozilla($position, $amount: $default_rounded_amount)
-moz-border-radius-#{$position}: $amount
// Round left corners by amount