Skip to content

Commit 56e6ac6

Browse files
authored
Merge pull request rohit8020#50 from davejane25/main
Added 29th Loader
2 parents ca6d505 + d9b4c86 commit 56e6ac6

File tree

3 files changed

+151
-0
lines changed

3 files changed

+151
-0
lines changed

index.css

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1639,5 +1639,64 @@ body {
16391639
}
16401640
}
16411641

1642+
1643+
1644+
/* .............Loader-29th............... */
1645+
1646+
.loader-29 {
1647+
height: 90vh;
1648+
display: flex;
1649+
justify-content: center;
1650+
align-items: center;
1651+
background: rgba(0, 0, 0, 0);
1652+
}
1653+
.wave {
1654+
width: 5px;
1655+
height: 90px;
1656+
background: linear-gradient(45deg, rgb(0, 190, 211), rgb(0, 0, 0));
1657+
margin: 10px;
1658+
animation: wave 1s linear infinite;
1659+
border-radius: 20px;
1660+
}
1661+
.wave:nth-child(2) {
1662+
animation-delay: 0.1s;
1663+
}
1664+
.wave:nth-child(3) {
1665+
animation-delay: 0.2s;
1666+
}
1667+
.wave:nth-child(4) {
1668+
animation-delay: 0.3s;
1669+
}
1670+
.wave:nth-child(5) {
1671+
animation-delay: 0.4s;
1672+
}
1673+
.wave:nth-child(6) {
1674+
animation-delay: 0.5s;
1675+
}
1676+
.wave:nth-child(7) {
1677+
animation-delay: 0.6s;
1678+
}
1679+
.wave:nth-child(8) {
1680+
animation-delay: 0.7s;
1681+
}
1682+
.wave:nth-child(9) {
1683+
animation-delay: 0.8s;
1684+
}
1685+
.wave:nth-child(10) {
1686+
animation-delay: 0.9s;
1687+
}
1688+
1689+
@keyframes wave {
1690+
0% {
1691+
transform: scale(0);
1692+
}
1693+
50% {
1694+
transform: scale(1);
1695+
}
1696+
100% {
1697+
transform: scale(0);
1698+
}
1699+
}
1700+
16421701
/* .............Loader-nth............... */
16431702
/* add the css for the Loader-nth... */

index.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,22 @@ <h1>Copy Code</h1>
386386
<a href="#demo-modal" id="28" class="show-code-btn">Show Code</a>
387387
</div>
388388

389+
<!-- Loader-29 -->
390+
<div class="loader-box">
391+
<div class="loader-29">
392+
<div class="wave"></div>
393+
<div class="wave"></div>
394+
<div class="wave"></div>
395+
<div class="wave"></div>
396+
<div class="wave"></div>
397+
<div class="wave"></div>
398+
<div class="wave"></div>
399+
<div class="wave"></div>
400+
<div class="wave"></div>
401+
<div class="wave"></div>
402+
</div>
403+
<a href="#demo-modal" id="29" class="show-code-btn">Show Code</a>
404+
</div>
389405

390406

391407
<!-- Loader-n -->

index.js

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1739,6 +1739,82 @@ let codes = [
17391739
17401740
`,
17411741
},
1742+
1743+
{
1744+
id: 29,
1745+
code: `
1746+
##HTML
1747+
<div class="loader-29">
1748+
<div class="wave"></div>
1749+
<div class="wave"></div>
1750+
<div class="wave"></div>
1751+
<div class="wave"></div>
1752+
<div class="wave"></div>
1753+
<div class="wave"></div>
1754+
<div class="wave"></div>
1755+
<div class="wave"></div>
1756+
<div class="wave"></div>
1757+
<div class="wave"></div>
1758+
</div>
1759+
1760+
##CSS
1761+
.loader-29 {
1762+
height: 90vh;
1763+
display: flex;
1764+
justify-content: center;
1765+
align-items: center;
1766+
background: rgba(0, 0, 0, 0);
1767+
}
1768+
.wave {
1769+
width: 5px;
1770+
height: 90px;
1771+
background: linear-gradient(45deg, rgb(0, 190, 211), rgb(0, 0, 0));
1772+
margin: 10px;
1773+
animation: wave 1s linear infinite;
1774+
border-radius: 20px;
1775+
}
1776+
.wave:nth-child(2) {
1777+
animation-delay: 0.1s;
1778+
}
1779+
.wave:nth-child(3) {
1780+
animation-delay: 0.2s;
1781+
}
1782+
.wave:nth-child(4) {
1783+
animation-delay: 0.3s;
1784+
}
1785+
.wave:nth-child(5) {
1786+
animation-delay: 0.4s;
1787+
}
1788+
.wave:nth-child(6) {
1789+
animation-delay: 0.5s;
1790+
}
1791+
.wave:nth-child(7) {
1792+
animation-delay: 0.6s;
1793+
}
1794+
.wave:nth-child(8) {
1795+
animation-delay: 0.7s;
1796+
}
1797+
.wave:nth-child(9) {
1798+
animation-delay: 0.8s;
1799+
}
1800+
.wave:nth-child(10) {
1801+
animation-delay: 0.9s;
1802+
}
1803+
1804+
@keyframes wave {
1805+
0% {
1806+
transform: scale(0);
1807+
}
1808+
50% {
1809+
transform: scale(1);
1810+
}
1811+
100% {
1812+
transform: scale(0);
1813+
}
1814+
}
1815+
1816+
`,
1817+
},
17421818
];
17431819

17441820
//There is no need to touch below code, You just have add you loader code inside the codes array

0 commit comments

Comments
 (0)