-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path55-infinity-scroll.html
More file actions
39 lines (38 loc) Β· 920 Bytes
/
55-infinity-scroll.html
File metadata and controls
39 lines (38 loc) Β· 920 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
<!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>55-infinity-scroll</title>
</head>
<style>
ul {
list-style-type: none;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 10px;
}
li {
border: 1px dotted limegreen;
margin-bottom: 30px;
width: 250px;
font-size: 14px;
font-weight: 500;
text-align: center;
}
img {
display: block;
margin: 0;
width: 250px;
}
</style>
<body>
<ul class="list js-list"></ul>
<button type="button" class="js-load" hidden>Load more</button>
<div class="js-guard"></div>
<script src="./app/55-infinity-scroll.js" type="module"></script>
</body>
</html>