-
Notifications
You must be signed in to change notification settings - Fork 8
/
examples.scss
48 lines (39 loc) · 914 Bytes
/
examples.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
@import "css3please";
div {
width: 100px;
height: 100px;
margin: 10px;
background-color: #CCC;
}
.border-radius {
@include border-radius(10px);
/* @include border-radius(10px, 5px, 3px, 8px); */
}
.transition {
@include transition(all, .5s, linear);
}
.background-size {
@include background-size(80%, 80%);
background-image: url("http://cdn.tripwiremagazine.com/wp-content/uploads/2010/04/CSS3.jpg");
background-repeat: no-repeat;
}
.rotate {
@include rotate(45);
}
.box-shadow {
@include box-shadow(#000, 10px);
/* @include box-shadow(#000, 10px, 5px, 5px); */
}
.gradient {
@include gradient(left top, right bottom, red, blue);
}
.text-shadow {
@include text-shadow(1px, 1px, 2px, red);
}
.opacity {
@include opacity(.4);
}
@include font-face("Delicious", "path-to-font/delicious.otf", "otf");
.font-face {
font-family: "Delicious";
}