blob: 87887b016145af7e019a844c1b47d702bc6c91a8 (
plain)
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
|
<!DOCTYPE html>
<html>
<head>
<link rel='stylesheet' href='reference-style.css'>
<style>
body > button:nth-child(1) > .input-color-swatch { background-color: #000000; }
body > button:nth-child(2) > .input-color-swatch { background-color: #000000; }
body > button:nth-child(3) > .input-color-swatch { background-color: #00ff00; }
body > button:nth-child(4) > .input-color-swatch { background-color: #123456; }
</style>
</head>
<body>
<button class="input-color">
<div class="input-color-swatch">
</div>
</button>
<button class="input-color">
<div class="input-color-swatch">
</div>
</button>
<button class="input-color">
<div class="input-color-swatch">
</div>
</button>
<button class="input-color">
<div class="input-color-swatch">
</div>
</button>
</body>
</html>
|