-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
76 lines (63 loc) · 1.09 KB
/
index.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
@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&display=swap');
body {
font-family: 'Indie Flower', cursive;
margin: 0;
}
.drawing-color button {
height: 30px;
width: 30px;
border: transparent;
opacity: 0.9;
}
.drawing-color {
position: absolute;
margin-top: 10px;
}
button#red {
background: red;
border-radius: 60px;
}
button#green{
background: green;
border-radius: 60px;
}
button#blue {
background: blue;
border-radius: 60px;
}
button#yellow {
background: yellow;
border-radius: 60px;
}
button#pink {
background: pink;
border-radius: 60px;
}
button#black {
background: black;
border-radius: 60px;
}
.drawing-color button:hover {
cursor: pointer;
opacity: 1;
}
button#clear {
position: absolute;
right: 0;
top: 10px;
height: 20px;
width: 20px;
border: none;
margin-right: 30px;
transition: 0.3s;
cursor: pointer;
}
button#clear:after {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
content: "X";
line-height: 21px;
}