Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A simple set of SASS mixing for projects
Tree: d9db668885

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
_mixins.scss

README.md

CSS3

Border Radius

/* Mixin */
@include border-radius($radius, $topleft, $topright, $bottomright, $bottomleft);

/* Example */
@include border-radius(3px);
@include border-radius($topleft: 3px);

Box Shadow

/* Mixin */
@include box-shadow($x, $y, $blur, $color, $inset: false);

/* Example */
@include box-shadow(0, 0, 10px, rgba(0, 0, 0, .5));

Box Sizing

/* Mixin */
@include box-sizing($value);

/* Example */
@include box-sizing(border-box);

Transitions

/* Mixin */
@include transition($property: false, $time: 1s, $ease: linear);

/* Example */
@include transition(width, .35s);

Other

Retina Graphics

/* Mixin */
@include hires-graphic($file, $type, $width, $height);

/* Example */
@include hires-graphic('logo', 'png', 200px, 120px);
Something went wrong with that request. Please try again.