-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
39 lines (32 loc) · 695 Bytes
/
styles.css
File metadata and controls
39 lines (32 loc) · 695 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
39
/*
HSL stands for hue, saturation, and lightness.
HSL color values are specified with:
hsl(hue, saturation, lightness).
Hue is a degree on the color wheel from 0 to 360. 0 is red, 120 is green, 240 is blue.
Saturation is a percentage value; 0% means a shade of gray and 100% is the full color.
Lightness is also a percentage; 0% is black, 100% is white.
*/
* {
margin: 0;
}
.box {
width: 100px;
height: 100px;
margin: 20px;
border: 2px solid red;
}
.box-1 {
background: hsl(0, 100%, 50%);
}
.box-2 {
background: hsl(120, 100%, 50%);
}
.box-3 {
background: hsl(120, 50%, 50%);
}
.box-4 {
background: hsl(120, 100%, 0%);
}
.box-5 {
background: hsl(120, 100%, 100%);
}