Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 59 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -1639,5 +1639,64 @@ body {
}
}



/* .............Loader-29th............... */

.loader-29 {
height: 90vh;
display: flex;
justify-content: center;
align-items: center;
background: rgba(0, 0, 0, 0);
}
.wave {
width: 5px;
height: 90px;
background: linear-gradient(45deg, rgb(0, 190, 211), rgb(0, 0, 0));
margin: 10px;
animation: wave 1s linear infinite;
border-radius: 20px;
}
.wave:nth-child(2) {
animation-delay: 0.1s;
}
.wave:nth-child(3) {
animation-delay: 0.2s;
}
.wave:nth-child(4) {
animation-delay: 0.3s;
}
.wave:nth-child(5) {
animation-delay: 0.4s;
}
.wave:nth-child(6) {
animation-delay: 0.5s;
}
.wave:nth-child(7) {
animation-delay: 0.6s;
}
.wave:nth-child(8) {
animation-delay: 0.7s;
}
.wave:nth-child(9) {
animation-delay: 0.8s;
}
.wave:nth-child(10) {
animation-delay: 0.9s;
}

@keyframes wave {
0% {
transform: scale(0);
}
50% {
transform: scale(1);
}
100% {
transform: scale(0);
}
}

/* .............Loader-nth............... */
/* add the css for the Loader-nth... */
16 changes: 16 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,22 @@ <h1>Copy Code</h1>
<a href="#demo-modal" id="28" class="show-code-btn">Show Code</a>
</div>

<!-- Loader-29 -->
<div class="loader-box">
<div class="loader-29">
<div class="wave"></div>
<div class="wave"></div>
<div class="wave"></div>
<div class="wave"></div>
<div class="wave"></div>
<div class="wave"></div>
<div class="wave"></div>
<div class="wave"></div>
<div class="wave"></div>
<div class="wave"></div>
</div>
<a href="#demo-modal" id="29" class="show-code-btn">Show Code</a>
</div>


<!-- Loader-n -->
Expand Down
76 changes: 76 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1739,6 +1739,82 @@ let codes = [

`,
},

{
id: 29,
code: `
##HTML
<div class="loader-29">
<div class="wave"></div>
<div class="wave"></div>
<div class="wave"></div>
<div class="wave"></div>
<div class="wave"></div>
<div class="wave"></div>
<div class="wave"></div>
<div class="wave"></div>
<div class="wave"></div>
<div class="wave"></div>
</div>

##CSS
.loader-29 {
height: 90vh;
display: flex;
justify-content: center;
align-items: center;
background: rgba(0, 0, 0, 0);
}
.wave {
width: 5px;
height: 90px;
background: linear-gradient(45deg, rgb(0, 190, 211), rgb(0, 0, 0));
margin: 10px;
animation: wave 1s linear infinite;
border-radius: 20px;
}
.wave:nth-child(2) {
animation-delay: 0.1s;
}
.wave:nth-child(3) {
animation-delay: 0.2s;
}
.wave:nth-child(4) {
animation-delay: 0.3s;
}
.wave:nth-child(5) {
animation-delay: 0.4s;
}
.wave:nth-child(6) {
animation-delay: 0.5s;
}
.wave:nth-child(7) {
animation-delay: 0.6s;
}
.wave:nth-child(8) {
animation-delay: 0.7s;
}
.wave:nth-child(9) {
animation-delay: 0.8s;
}
.wave:nth-child(10) {
animation-delay: 0.9s;
}

@keyframes wave {
0% {
transform: scale(0);
}
50% {
transform: scale(1);
}
100% {
transform: scale(0);
}
}

`,
},
];

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