-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
60 lines (54 loc) · 1.58 KB
/
popup.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- <meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> -->
<!-- <title>Document</title> -->
<style>
* {
margin: 0;
padding: 0;
}
.btn-group {
width: 100px;
height: auto;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
button {
margin: 3px 0;
width: 65px;
color: #ffffff;
height: 35px;
outline: none;
border: none;
border-radius: 5px;
cursor: pointer;
}
h3 {
padding: 3px;
}
</style>
</head>
<body>
<div class="btn-group">
<h3>select color:</h3>
<button class="changeColor">color1</button>
<button class="changeColor">color2</button>
<button class="changeColor">color3</button>
<button class="changeColor">color4</button>
<button class="changeColor">color5</button>
<button class="changeColor">color6</button>
<button class="changeColor">color7</button>
<button class="changeColor">color8</button>
<button class="changeColor">color9</button>
<button class="changeColor">color10</button>
<button class="changeColor">color11</button>
<button class="changeColor">color12</button>
</div>
<script src="popup.js"></script>
</body>
</html>