We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93b5e34 commit 2a39aa5Copy full SHA for 2a39aa5
Source-Code/FormWaveAnimation/script.js
@@ -0,0 +1,10 @@
1
+const labels = document.querySelectorAll('.form-control label');
2
+
3
+labels.forEach((label) => {
4
+ label.innerHTML = label.innerText
5
+ .split('')
6
+ .map(
7
+ (letter, idx) => `<span style="transition-delay:${idx * 50}ms" >${letter}</span>`,
8
+ )
9
+ .join('');
10
+});
0 commit comments