-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.html
More file actions
66 lines (60 loc) · 2.36 KB
/
test.html
File metadata and controls
66 lines (60 loc) · 2.36 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>a</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
</head>
<body>
<style>
.marquee {
white-space: nowrap;
overflow: hidden;
}
.marquee div {
padding-left: 100%;
display: inline-block;
animation: animate 10s linear infinite;
}
@keyframes animate {
100% {
transform: translate(-100%, 0);
}
}
</style>
<div class="row mx-1 fs-1">
<div class="col-auto">
HELLO WORLD
</div>
<div class="col">
<!-- <div class="position-relative w-100 overflow-hidden h-100">
<div class="fw-bold fs-1 position-absolute d-flex flex-nowrap animate" style="white-space: nowrap;">
<div style="white-space: nowrap;" class="w-50 d-flex flex-nowrap justify-content-around">
<div>Lorem ipsum dolor sit amet.</div>
<div>Beatae, laudantium deleniti. Totam, tempore.</div>
<div>Itaque quam qui saepe provident.</div>
<div>Aut distinctio incidunt minus sed.</div>
<div>Minima totam beatae eaque necessitatibus.</div>
</div>
<div style="white-space: nowrap;" class="w-50 d-flex flex-nowrap justify-content-around">
<div>Lorem ipsum dolor sit amet.</div>
<div>Beatae, laudantium deleniti. Totam, tempore.</div>
<div>Itaque quam qui saepe provident.</div>
<div>Aut distinctio incidunt minus sed.</div>
<div>Minima totam beatae eaque necessitatibus.</div>
</div>
</div>
</div> -->
<div class="position-relative">
<div class="marquee position-absolute w-100">
<div>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Nemo, nisi.
</div>
</div>
</div>
</div>
</div>
</body>
</html>