blob: ea2f38b6bb216d25a8d5656fdd8d6bcac40982db (
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
|
<!DOCTYPE html>
<style>
div {
font-size: 0; /* so I can leave spaces between the child divs */
height: 20px;
}
div > div {
display: inline-block;
}
div > div:first-child {
background: blue;
}
div > div:nth-child(2) {
background: lime;
}
</style>
<div>
<div style="width:3.6px;"></div>
<div style="width:3.6px;"></div>
</div>
<br><br>
<div>
<div style="width:3.3px;"></div>
<div style="width:3.3px;"></div>
</div>
|