-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
83 lines (82 loc) · 1.41 KB
/
style.css
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
.block {
width: 150px;
height: 150px;
background: linear-gradient(to top, #333 0%, #666 30%, #333 100%);
box-shadow: inset 2px 2px 5px 2px #333;
border-radius: 10px;
display: inline-block;
vertical-align: top;
color: #fff;
}
h3 {
font-family: Arial;
font-size: 18px;
text-align: center;
}
.vertical {
width: 75px;
height: 75px;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto;
}
.vertical input {
transform: rotate(90deg);
width: 75px;
}
.vertical label {
display: flex;
flex-direction: column;
justify-content: space-between;
height: 75px;
}
.horizontal {
width: 100px;
margin: 0 auto;
}
.horizontal input {
width: 100px;
}
.horizontal label {
width: 100px;
display: flex;
justify-content: space-between;
}
.center {
height: 70px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
#ok-shape {
margin-top: 10px;
}
.hex-container {
width: 100px;
margin: 40px auto 0;
}
#hex {
width: 80px;
}
.rgba-container {
width: 100px;
margin: 0 auto;
}
.rgba-container input {
width: 80px;
}
.container {
margin-top: 20px;
position: relative;
}
/* Uses CSS selectors to style a div tag */
#block {
width: 150px;
height: 150px;
background-color: #f00;
position: absolute;
left: 0;
top: 0;
}