Took 4 hours 31 minutes
This commit is contained in:
2022-11-22 00:01:03 +01:00
parent 569f42c686
commit d6c219beb7
22 changed files with 272 additions and 17 deletions

View File

@ -23,7 +23,7 @@
grid-row-gap: 4%;
text-align: center;
border-radius: 30px 10px 30px;
color: black;
color: white;
/*box-shadow: 3px 3px 3px;*/
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3), 0 6px 20px 0 rgba(0, 0, 0, 0.29);
transition: 0.4s;
@ -55,4 +55,78 @@
grid-column: span 1;
grid-row: span 1;
font-size: 150%;
}
/* Water animation */
body {
margin: 50px;
}
.water {
position: relative;
width: 130px;
height: 150px;
background-color: #23417B;
box-shadow: inset 0 0 80px #18566D;
clip-path: polygon(0 0, 100% 0, 85% 100%, 15% 100%);
background-repeat: no-repeat;
background-position: center;
background-size: auto 83%;
margin: auto auto 3%;
}
.water::before {
content: "";
width: 200%;
height: 200%;
background-color: #ececec;
position: absolute;
top: -90%;
left: -50%;
border-radius: 40%;
animation: animWater 10s linear infinite, animFillIn 15s linear forwards;
}
.water::after {
content: "";
width: 204%;
height: 204%;
background-color: #ececec80;
position: absolute;
top: -90%;
left: -52%;
border-radius: 40%;
animation: animWater 10s linear infinite, animFillIn 15s linear forwards;
animation-delay: 0.4s;
}
.waterCancel {
background-color: red;
transition: background-color 1s;
}
@keyframes animFillIn {
0% {
top: -90%;
}
100% {
top: -190%;
}
}
@keyframes animWater {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
#main_fillTxt {
margin-bottom: 3%;
}