Permalink
Browse files

Cleaned up documentation

  • Loading branch information...
1 parent aaf1fb0 commit d9db668885ba58150fb1b36e601f083da8a52dfb @jamesfinley jamesfinley committed Oct 9, 2011
Showing with 15 additions and 0 deletions.
  1. +15 −0 README.md
View
@@ -3,29 +3,41 @@
## Border Radius
```scss
+/* Mixin */
@include border-radius($radius, $topleft, $topright, $bottomright, $bottomleft);
+
+/* Example */
@include border-radius(3px);
@include border-radius($topleft: 3px);
```
## Box Shadow
```scss
+/* Mixin */
@include box-shadow($x, $y, $blur, $color, $inset: false);
+
+/* Example */
@include box-shadow(0, 0, 10px, rgba(0, 0, 0, .5));
```
## Box Sizing
```scss
+/* Mixin */
@include box-sizing($value);
+
+/* Example */
@include box-sizing(border-box);
```
## Transitions
```scss
+/* Mixin */
@include transition($property: false, $time: 1s, $ease: linear);
+
+/* Example */
@include transition(width, .35s);
```
@@ -34,6 +46,9 @@
## Retina Graphics
```scss
+/* Mixin */
@include hires-graphic($file, $type, $width, $height);
+
+/* Example */
@include hires-graphic('logo', 'png', 200px, 120px);
```

0 comments on commit d9db668

Please sign in to comment.