Skip to content

Commit

Permalink
lazy beautify
Browse files Browse the repository at this point in the history
  • Loading branch information
nctzn101 authored Apr 20, 2023
1 parent da2a907 commit f49760d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
<title>firefighter</title>
</head>
<body>
<h1>firefighter</h1>
<script src="https://cdn.jsdelivr.net/npm/telescopic"></script>

<script src="https://unpkg.com/telescopic-text/lib/index.js"></script>
<link href="https://unpkg.com/telescopic-text/lib/index.css" rel="stylesheet">
</head>

<div id="telescopicPoem"></div>
<div id="telescopicPoem" style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);">
</div>
<script>
const telescopicContent = createTelescopicTextFromBulletedList(`- watered
- even
Expand Down Expand Up @@ -56,7 +56,9 @@ <h1>firefighter</h1>
const container = document.getElementById("telescopicPoem");
container.appendChild(telescopicContent);
</script>
<div style="position: absolute; top: 80%; left: 50%; transform: translate(-50%, -50%);"> firefighter
</div>

</body>
</html>
<head>
<head>

0 comments on commit f49760d

Please sign in to comment.