Skip to content

Commit

Permalink
readme updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaw145 committed Apr 28, 2024
1 parent 0993362 commit 130b7ed
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 64 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async function checkWeather(city){
else{
setTimeout(()=>{
updateData(data);
},100)
},200)
}
}

Expand Down
2 changes: 0 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
<div class="loader"></div>
</div>

<div id="taskloader">
<div class="custom-loader"></div></div>

<img src="" alt="" id="city-img">

Expand Down
61 changes: 0 additions & 61 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -317,64 +317,3 @@ html, body{
-70px 90px 0 rgba(0, 0, 0, 0);
}
}

#taskloader{
background-color: transparent;
width: 100%;
height: 100vh;
position: relative;
z-index: 100;
top: 50%;
left: 50%;

display: flex;
align-items: center;
justify-content: center;

display: none;
}

.custom-loader {
width: 70px;
height: 70px;
background: #ffa600;
border-radius: 50px;
-webkit-mask: radial-gradient(circle 31px at 50% calc(100% + 13px),#000 95%,#0000) top 4px left 50%,
radial-gradient(circle 31px,#000 95%,#0000) center,
radial-gradient(circle 31px at 50% -13px,#000 95%,#0000) bottom 4px left 50%,
linear-gradient(#000 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
-webkit-mask-repeat: no-repeat;
animation: cu10 1.5s infinite;
}

@keyframes cu10 {
0% {
-webkit-mask-size: 0 18px,0 18px,0 18px,auto
}

16.67% {
-webkit-mask-size: 100% 18px,0 18px,0 18px,auto
}

33.33% {
-webkit-mask-size: 100% 18px,100% 18px,0 18px,auto
}

50% {
-webkit-mask-size: 100% 18px,100% 18px,100% 18px,auto
}

66.67% {
-webkit-mask-size: 0 18px,100% 18px,100% 18px,auto
}

83.33% {
-webkit-mask-size: 0 18px,0 18px,100% 18px,auto
}

100% {
-webkit-mask-size: 0 18px,0 18px,0 18px,auto
}
}

0 comments on commit 130b7ed

Please sign in to comment.