Skip to content

Instantly share code, notes, and snippets.

View joshuatuscan's full-sized avatar
💭
Let's talk about your project.

Joshua Tuscan joshuatuscan

💭
Let's talk about your project.
View GitHub Profile
Verifying that +joshuatuscan is my blockchain ID. https://onename.com/joshuatuscan
@joshuatuscan
joshuatuscan / gist:5137743
Created March 11, 2013 21:05
border radius all mixin
@mixin rounded-corners-all($radius) {
-webkit-border-radius: $radius;
-moz-border-radius: $radius;
border-radius: $radius;
}
@joshuatuscan
joshuatuscan / gist:5137726
Created March 11, 2013 21:03
Border Radius Mixin
@mixin round-corners($top-left, $top-right, $bottom-right, $bottom-left) {
-webkit-border-top-left-radius: $top-left;
-webkit-border-top-right-radius: $top-right;
-webkit-border-bottom-right-radius: $bottom-right;
-webkit-border-bottom-left-radius: $bottom-left;
-moz-border-radius-topleft: $top-left;
-moz-border-radius-topright: $top-right;
-moz-border-radius-bottomright: $bottom-right;
-moz-border-radius-bottomleft: $bottom-left;
border-top-left-radius: $top-left;
@joshuatuscan
joshuatuscan / gist:5137644
Created March 11, 2013 20:52
Mixin for css background gradient
@mixin bg-gradient-linear($bottom-color, $top-color) {
background-color: $bottom-color;
background-image: -ms-linear-gradient(bottom, $bottom-color 0%, $top-color 100%);
background-image: -moz-linear-gradient(bottom, $bottom-color 0%, $top-color 100%);
background-image: -o-linear-gradient(bottom, $bottom-color 0%, $top-color 100%);
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, $bottom-color), color-stop(1, $top-color));
background-image: -webkit-linear-gradient(bottom, $bottom-color 0%, $top-color 100%);
background-image: linear-gradient(to top, $bottom-color 0%, $top-color 100%);
}