-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path03.DOM-breakpoints.html
More file actions
40 lines (34 loc) · 835 Bytes
/
Copy path03.DOM-breakpoints.html
File metadata and controls
40 lines (34 loc) · 835 Bytes
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
<html>
<head>
<style>
button:hover {
color: red;
}
button:active {
color: green;
}
button:focus {
color: orange;
}
button {
display: block;
margin: 10px;
}
</style>
</head>
<body>
<h1>DOM breakpoints</h1>
<ul>
<li>Break on subtree modifications</li>
<li>Break on attribute modifications</li>
<li>Break on node removal</li>
<li>:acitve, :focus ...</li>
</ul>
<button id="click-to-expand">Click me to add a item</button>
<button id="click-to-remove">Click me to move a item</button>
<button id="click-to-color">Click me to change item's color</button>
<ul id="panel">
</ul>
<script src="03.DOM-breakpoints.js"></script>
</body>
</html>