1StopCoders

Code Examples and Industry News

SASS Rounded Corners Mixin

SASS - Created by Casey Martin: 2014-05-16 16:59:00

$vendors: "-moz-", "-webkit-", "-o-", "";
$msvendors: "-ms-", "";

@mixin rounded($radius: 4px) {
	@each $vendor in $vendors {
 		#{$vendor}border-radius: $radius;
 	}
}