-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathunstable-element.html
75 lines (64 loc) · 1.69 KB
/
unstable-element.html
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<!DOCTYPE html>
<html>
<head>
<title>Unstable Element</title>
<style>
ul.navbar {
list-style-type: none;
margin: 0;
padding: 0;
background-color: #f1f1f1;
overflow: hidden;
}
ul.navbar li {
float: left;
}
ul.navbar li a {
display: block;
color: #333;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
ul.navbar li a:hover {
background-color: #ddd;
}
.unstable-element {
position: relative;
animation: unstable-animation 2s infinite alternate;
}
@keyframes unstable-animation {
0% {
opacity: 1;
left: 0;
}
50% {
opacity: 0.5;
left: 50px;
}
100% {
opacity: 1;
left: 0;
}
}
</style>
</head>
<body>
<ul class="navbar">
<li><a href="index.html">Home</a></li>
<li><a href="not-present-in-dom.html">Not Present in DOM</a></li>
<li><a href="not-present-in-ui.html">Not Present in UI</a></li>
<li><a href="unstable-element.html">Unstable Element</a></li>
<li><a href="disabled-element.html">Disabled Element</a></li>
<li><a href="event-receiving-element.html">Event Receiving Element</a></li>
<li><a href="xhrrequest.html">XHR Element</a></li>
<li><a href="form_elements.html">Form Element</a></li>
<li><a href="all_elements.html">All elements</a></li>
</ul>
<h2>Unstable Element</h2>
<div class="unstable-element">This element is unstable but present in the UI and DOM.</div>
<marquee>This is basic example of marquee</marquee>
<br>
<marquee direction = "up">The direction of text will be from bottom to top.</marquee>
</body>
</html>