-
-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathsass.scss
More file actions
38 lines (30 loc) · 610 Bytes
/
sass.scss
File metadata and controls
38 lines (30 loc) · 610 Bytes
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
/* variable, operator */
$font-stack: Helvetica, sans-serif;
$primary-color: #333;
body {
font: 0.8*100% $font-stack;
color: $primary-color;
}
/* nesting */
nav {
ul {
margin: 0;
padding: 0;
list-style: none;
}
li { display: inline-block; }
a {
display: block;
padding: 6px 12px;
text-decoration: none;
}
}
/* mixin */
@mixin border-radius($radius) {
-webkit-border-radius: $radius;
-moz-border-radius: $radius;
-ms-border-radius: $radius;
-o-border-radius: $radius;
border-radius: $radius;
}
.box { @include border-radius(10px); }