Skip to content

Commit 524002f

Browse files
committed
first commit
0 parents  commit 524002f

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.DS_Store

_mixins.scss

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
// Box-shadow
2+
@mixin box-shadow($top, $left, $blur, $color, $inset:"") {
3+
-webkit-box-shadow:$top $left $blur $color #{$inset};
4+
-moz-box-shadow:$top $left $blur $color #{$inset};
5+
box-shadow:$top $left $blur $color #{$inset};
6+
}
7+
8+
// Opacity
9+
@mixin opacity($value) {
10+
$ie: $value * 100;
11+
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=$ie)";
12+
filter: alpha(opacity=$ie);
13+
-moz-opacity: $value;
14+
-khtml-opacity: $value;
15+
opacity: $value;
16+
}
17+
18+
// Clearfix
19+
@mixin cf {
20+
*zoom: 1;
21+
&:before, &:after {
22+
content: "";
23+
display: table;
24+
}
25+
&:after {
26+
clear: both;
27+
}
28+
}
29+
30+
// Border-radius
31+
@mixin border-radius($foo) {
32+
-webkit-border-radius: $foo;
33+
-moz-border-radius: $foo;
34+
border-radius: $foo;
35+
}

0 commit comments

Comments
 (0)