Skip to content

Commit

Permalink
merge conflict resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
rohit8020 committed Oct 16, 2022
1 parent 1f7caf5 commit 6148576
Show file tree
Hide file tree
Showing 4 changed files with 157 additions and 36 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,6 @@ If you had fun while contributing to this project, then don't forget to give thi
- [Sachin Gupta](https://github.com/sachingupta63)
- [Abhay Gupta](https://github.com/abhaygupta08)
- [Navkiran Singh](https://github.com/inavkiran)
- [Anuj Kumar Maurya](https://github.com/Anujkumar2017)

### Thanks for your contribution
97 changes: 78 additions & 19 deletions codes.js
Original file line number Diff line number Diff line change
Expand Up @@ -2794,58 +2794,117 @@ const codes = [
`
},
{
id: 42,
"id": 42,
"code":
`##HTML Code
<div class="loader42"></div>
##CSS Code
.loader42 {
position: relative;
width: 120px;
height: 90px;
margin: 0 auto;
}
.loader42:before {
content: "";
position: absolute;
bottom: 30px;
left: 51px;
height: 25px;
width: 25px;
border-radius: 50%;
background: #FF3D00;
animation: loading-bounce 0.5s ease-in-out infinite alternate;
}
.loader42:after {
content: "";
position: absolute;
right: 0;
top: 0;
height: 7px;
width: 45px;
border-radius: 4px;
box-shadow: 0 5px 0 #fff, -35px 50px 0 #fff, -70px 95px 0 #fff;
animation: loading-step 1s ease-in-out infinite;
}
@keyframes loading-bounce {
0% { transform: scale(1, 0.7)}
40% { transform: scale(0.8, 1.2)}
60% { transform: scale(1, 1)}
100% { bottom: 100px }
}
@keyframes loading-step {
0% {
box-shadow: 0 10px 0 rgba(0,0,0,0),
0 10px 0 #fff,
-35px 50px 0 #fff,
-70px 90px 0 #fff;
}
100% {
box-shadow: 0 10px 0 #fff,
-35px 50px 0 #fff,
-70px 90px 0 #fff,
-70px 90px 0 rgba(0,0,0,0);
}
}`
},
{
id: 43,
code:`
##HTML
<div class="loader42"></div>
<div class="loader43"></div>
##CSS
.loader42 {
.loader43 {
width:20px;
height:20px;
background:#24bd54;
box-shadow:0 0 60px 15px #24bd54;
transform: translate(-80px);
clip-path:inset(0);
animation:
l42-1 0.5s ease-in-out infinite alternate,
l42-2 1s ease-in-out infinite;
l43-1 0.5s ease-in-out infinite alternate,
l43-2 1s ease-in-out infinite;
}
@keyframes l42-1 {
@keyframes l43-1 {
100% {transform:translateX(80px)}
}
@keyframes l42-2 {
@keyframes l43-2 {
33% {clip-path:inset(0 0 0 -100px)}
50% {clip-path:inset(0 0 0 0) }
83% {clip-path:inset(0 -100px 0 0)}
}
`

},{
id:43,
`
},
{
id:44,
code:`
##HTML
<div class="loader43"></div>
<div class="loader44"></div>
##CSS
.loader43 {
.loader44 {
width:120px;
height:21px;
background:
linear-gradient(#000 0 0) left/10px 100% no-repeat
#ddd;
animation:l43 1s infinite cubic-bezier(0,0.2,1,1);
animation:l44 1s infinite cubic-bezier(0,0.2,1,1);
position: relative;
}
.loader43:before,
.loader43:after {
.loader44:before,
.loader44:after {
content: "";
position: absolute;
left:0;
Expand All @@ -2856,15 +2915,15 @@ const codes = [
#ddd;
animation: inherit;
}
.loader43:before {
.loader44:before {
top:0;
animation-timing-function: cubic-bezier(0,0,1,1);
}
.loader43:after {
.loader44:after {
bottom:0;
animation-timing-function: cubic-bezier(0,0.4,1,1);
}
@keyframes l43 {
@keyframes l44 {
50% {background-position: right }
}
`
Expand Down
81 changes: 68 additions & 13 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -2718,41 +2718,93 @@ body {
100%{opacity: 0;width: 0px;}
}

/* .............Loader-42nd............... */
/* .............Loader 42............... */
.loader42 {
position: relative;
width: 120px;
height: 90px;
margin: 0 auto;
}
.loader42:before {
content: "";
position: absolute;
bottom: 30px;
left: 51px;
height: 25px;
width: 25px;
border-radius: 50%;
background: #FF3D00;
animation: loading-bounce 0.5s ease-in-out infinite alternate;
}
.loader42:after {
content: "";
position: absolute;
right: 0;
top: 0;
height: 7px;
width: 45px;
border-radius: 4px;
box-shadow: 0 5px 0 #fff, -35px 50px 0 #fff, -70px 95px 0 #fff;
animation: loading-step 1s ease-in-out infinite;
}

@keyframes loading-bounce {
0% { transform: scale(1, 0.7)}
40% { transform: scale(0.8, 1.2)}
60% { transform: scale(1, 1)}
100% { bottom: 100px }
}
@keyframes loading-step {
0% {
box-shadow: 0 10px 0 rgba(0,0,0,0),
0 10px 0 #fff,
-35px 50px 0 #fff,
-70px 90px 0 #fff;
}
100% {
box-shadow: 0 10px 0 #fff,
-35px 50px 0 #fff,
-70px 90px 0 #fff,
-70px 90px 0 rgba(0,0,0,0);
}
}


/* .............Loader-43rd............... */
.loader43 {
width:20px;
height:20px;
background:#24bd54;
box-shadow:0 0 60px 15px #24bd54;
transform: translate(-80px);
clip-path:inset(0);
animation:
l42-1 0.5s ease-in-out infinite alternate,
l42-2 1s ease-in-out infinite;
l43-1 0.5s ease-in-out infinite alternate,
l43-2 1s ease-in-out infinite;
}

@keyframes l42-1 {
@keyframes l43-1 {
100% {transform:translateX(80px)}
}

@keyframes l42-2 {
@keyframes l43-2 {
33% {clip-path:inset(0 0 0 -100px)}
50% {clip-path:inset(0 0 0 0) }
83% {clip-path:inset(0 -100px 0 0)}
}

/* .............Loader-42rd............... */
.loader43 {
/* .............Loader-44th............... */
.loader44 {
width:120px;
height:21px;
background:
linear-gradient(#000 0 0) left/10px 100% no-repeat
#ddd;
animation:l43 1s infinite cubic-bezier(0,0.2,1,1);
animation:l44 1s infinite cubic-bezier(0,0.2,1,1);
position: relative;
}
.loader43:before,
.loader43:after {
.loader44:before,
.loader44:after {
content: "";
position: absolute;
left:0;
Expand All @@ -2763,16 +2815,19 @@ body {
#ddd;
animation: inherit;
}
.loader43:before {
.loader44:before {
top:0;
animation-timing-function: cubic-bezier(0,0,1,1);
}
.loader43:after {
.loader44:after {
bottom:0;
animation-timing-function: cubic-bezier(0,0.4,1,1);
}
@keyframes l43 {
@keyframes l44 {
50% {background-position: right }
}



/* .............Loader-nth............... */
/* add the css for the Loader-nth... */
14 changes: 10 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -537,14 +537,20 @@ <h1>Copy Code</h1>
<!-- Loader-42 -->
<div class="loader-box">
<div class="loader42"></div>
<a href="#demo-modal" id="42" class="show-code-btn">Show Code</a>
</div>
<a href="#demo-modal" id="42" class="show-code-btn">Show Code</a>
</div>

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

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

<!-- Loader-n -->
<!-- <div class="loader-box">
Expand Down

0 comments on commit 6148576

Please # to comment.