-
Notifications
You must be signed in to change notification settings - Fork 2
/
2.html
20 lines (16 loc) · 652 Bytes
/
2.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<link rel="stylesheet" href="styles.css" />
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
<div id="controls">
<label>A - margin-top <input type="number" value="20" step="10" />px</label>
<label>B - margin-top <input type="number" value="10" step="10" />px</label>
</div>
<pre><code class="html"></code></pre>
<fc>
<div id="A" style="margin-top: 20px;">
<div id="B" style="margin-top: 10px;">A > B</div>
</div>
</fc>
<script src="script.js"></script>