-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample.html
37 lines (34 loc) · 1.08 KB
/
sample.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
<!DOCTYPE html>
<html lang="en">
<head>
<title></title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="www/resets.css" rel="preload" as="style" />
<link rel="stylesheet" href="www/style.css" rel="preload" as="style" />
<script src="www/textfit.min.js"></script>
</head>
<body>
<section id="main">
<!-- Title -->
<p id="title">Multi-stage builds and debugging scratch images</p>
<!-- Date -->
<p id="date">September 23 2023</p>
<!-- Image -->
<img id="post-image"
src="https://img.freepik.com/free-vector/stylish-glowing-digital-red-lines-banner_1017-23964.jpg"
alt="post image" />
<!--Logo-->
<img id="logo" src="www/logo.png" alt="logo img" />
</section>
</body>
<script>
document.addEventListener("DOMContentLoaded", () => {
textFit(document.getElementById("title"), {
multiLine: true,
minFontSize: 24,
maxFontSize: 64,
});
});
</script>
</html>