Skip to content

Commit c7b99b2

Browse files
committed
cdns@latest
1 parent 8f61bb0 commit c7b99b2

File tree

3 files changed

+31
-4
lines changed

3 files changed

+31
-4
lines changed

README.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,35 @@ import WordPopText from "@/components/animatios/WordPopText";
668668
### Using Cdn
669669

670670
```html
671-
671+
<!DOCTYPE html>
672+
<html lang="en">
673+
<head>
674+
<meta charset="UTF-8" />
675+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
676+
<title>Word Pop Text Animation</title>
677+
<style>
678+
body {
679+
font-family: Arial, sans-serif;
680+
display: flex;
681+
justify-content: center;
682+
align-items: center;
683+
height: 100vh;
684+
background-color: #f0f0f0;
685+
686+
}
687+
</style>
688+
</head>
689+
<body>
690+
691+
<h1 class="WordPopText"></h1>
692+
693+
<script src="https://cdn.jsdelivr.net/gh/ahkamboh/animatio@main/cdns%40latest/wordpop_text.js"></script>
694+
<script>
695+
const animatio = new WordPopText(["Word Pop", "Animation"], 0.8);
696+
</script>
697+
</body>
698+
</html>
699+
672700
```
673701

674702
### 12. **SlitText**

cdns@latest/slit_text.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cdns@latest/slittext.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)