Instantly share code, notes, and snippets.

Embed
What would you like to do?
.wincc {
display: flex;
justify-content: center;
height: 100%;
position: relative;
}
.wincc .box {
align-self: center;
width: 250px;
height: 250px;
background-color: #ECECEC;
border: 1px solid #969696;
border-radius: 100%;
animation: wincc-grow 1s forwards;
}
.wincc .check {
align-self: center;
width: 56px;
height: 110px;
transform: rotate(44deg);
position: absolute;
top: 50%;
left: 50%;
margin-left: -50px;
margin-top: -94px;
}
.wincc .check:after {
content: "";
width: 100%;
height: 100%;
border: 4px solid #7FD8F7;
border-left-width: 0;
border-top-width: 0;
animation: wincc-cha 1.2s ease-in-out forwards;
position: absolute;
bottom: 0;
}
.success {
color: #7FD8F7;
}
@keyframes wincc-grow {
0% {
transform: scale(0);
}
100% {
transform: scale(1);
}
}
@keyframes wincc-cha {
0% {
width: 0;
height: 0;
}
50% {
width: 56px;
height: 0;
}
100% {
height: 110px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment