Skip to content

Commit cb074b0

Browse files
committed
add another test case
1 parent 6ba5077 commit cb074b0

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

examples/text-field-animation.html

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<meta charset="utf-8">
4+
<meta name="viewport" content="width=device-width,initial-scale=1">
5+
<head>
6+
<style>
7+
@keyframes test {
8+
to { content: "" }
9+
}
10+
11+
p {
12+
position: relative;
13+
block-size: 2rem;
14+
transform: translate3d(0, 0, 0);
15+
}
16+
17+
p:first-child {
18+
animation: test 1s infinite;
19+
}
20+
21+
input {
22+
position: absolute;
23+
inset: 0;
24+
z-index: 1;
25+
font-size: 18px;
26+
padding: 2px;
27+
}
28+
</style>
29+
</head>
30+
<body>
31+
<p><input placeholder="Try to paste here" /></p>
32+
</body>
33+
</html>

0 commit comments

Comments
 (0)