39 lines
714 B
HTML
39 lines
714 B
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<style>
|
||
|
.h {
|
||
|
display: flex;
|
||
|
}
|
||
|
|
||
|
.mm {
|
||
|
height: 10mm;
|
||
|
width: 1mm;
|
||
|
}
|
||
|
|
||
|
body div *:nth-child(2n) {
|
||
|
background: red;
|
||
|
}
|
||
|
|
||
|
body div * {
|
||
|
background: black;
|
||
|
}
|
||
|
</style>
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
<div class="h" id="mm">
|
||
|
<div class="mm"></div>
|
||
|
<div class="mm"></div>
|
||
|
<div class="mm"></div>
|
||
|
<div class="mm"></div>
|
||
|
<div class="mm"></div>
|
||
|
<div class="mm"></div>
|
||
|
<div class="mm"></div>
|
||
|
<div class="mm"></div>
|
||
|
<div class="mm"></div>
|
||
|
</div>
|
||
|
<div data-html-copy="#h"></div>
|
||
|
</body>
|
||
|
|
||
|
</html>
|