-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
59 lines (52 loc) · 896 Bytes
/
index.css
File metadata and controls
59 lines (52 loc) · 896 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
html, body {
margin: 0;
padding: 0;
}
body {
width: 60%;
margin: 20px auto;
}
#header {
display: flex;
justify-content: space-around;
margin-bottom: 20px;
}
#colorInput {
width: 60px;
height: 40px;
border: none;
}
#colorSection {
display: flex;
justify-content: space-between;
width: 90%;
margin: 0 auto;
}
#colorBar {
height: 70vh;
background-color: green;
width: 20%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
}
#colorBar #color-name {
background-color: pink;
height: fit-content;
padding: 2px 3px;
border-radius: 3px;
font-size: 12px;
width: fit-content;
}
#colorBar #color-hex {
color: rgb(248, 244, 240);
border-radius: 3px;
padding: 2px 3px;
background-color: rgb(15, 15, 15);
position: relative;
font-size: 13px;
font-weight: 700;
bottom: -40px;
width: auto;
}