sass-site/source/code-snippets/_homepage-mixins-scss.md

11 lines
255 B
Markdown
Raw Normal View History

2013-02-24 07:04:16 +01:00
```scss
@mixin border-radius($radius) {
-webkit-border-radius: $radius;
-moz-border-radius: $radius;
-ms-border-radius: $radius;
-o-border-radius: $radius;
border-radius: $radius;
}
.box { @include border-radius(10px); }
```