CRG-21-001
送信しました
送信完了(紙飛行機→チェック)Send Success
.cg-fb-send {
position: relative;
width: 180px;
height: 118px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 10px;
}
.cg-fb-send .plane {
position: absolute;
top: 40px;
left: 10px;
width: 30px;
height: 30px;
fill: none;
stroke: #4A6FA5;
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
animation: cg-fb-send-fly 3.2s cubic-bezier(.45, .05, .55, .95) infinite;
}
.cg-fb-send .mark {
width: 48px;
height: 48px;
fill: none;
stroke: #3AA76D;
stroke-width: 4;
stroke-linecap: round;
stroke-linejoin: round;
animation: cg-fb-send-pop 3.2s cubic-bezier(.34, 1.56, .64, 1) infinite;
}
.cg-fb-send .mark circle { stroke-dasharray: 145; stroke-dashoffset: 145; animation: cg-fb-send-ringdraw 3.2s ease infinite; }
.cg-fb-send .mark path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: cg-fb-send-tickdraw 3.2s ease infinite; }
.cg-fb-send .burst {
position: absolute;
top: 40%;
left: 50%;
width: 5px;
height: 5px;
border-radius: 50%;
background: #F2B707;
box-shadow: 26px -14px 0 #3AA76D, -26px -12px 0 #F2B707, 18px 24px 0 #4A6FA5, -20px 22px 0 #3AA76D, 0 -30px 0 #E8557E, 30px 6px 0 #F2B707, -30px 4px 0 #4A6FA5;
animation: cg-fb-send-burst 3.2s cubic-bezier(.22, 1, .36, 1) infinite;
}
.cg-fb-send span {
font-size: 13px;
font-weight: 700;
color: #2A2622;
opacity: 0;
animation: cg-fb-send-label 3.2s cubic-bezier(.22, 1, .36, 1) infinite;
}
/* 飛行機が弧を描いて飛び去る→リングがばねで出現→チェック描画→紙吹雪 */
@keyframes cg-fb-send-fly {
0% { transform: translate(-14px, 26px) rotate(16deg) scale(.7); opacity: 0; }
10% { opacity: 1; }
24% { transform: translate(34px, -4px) rotate(2deg) scale(1); }
38% { transform: translate(104px, -38px) rotate(-12deg) scale(.75); opacity: 1; }
46%, 100% { transform: translate(140px, -58px) rotate(-16deg) scale(.5); opacity: 0; }
}
@keyframes cg-fb-send-pop {
0%, 42% { transform: scale(0); opacity: 0; }
50% { transform: scale(1.14); opacity: 1; }
56%, 90% { transform: scale(1); opacity: 1; }
100% { transform: scale(.6); opacity: 0; }
}
@keyframes cg-fb-send-ringdraw { 0%, 46% { stroke-dashoffset: 145; } 66%, 100% { stroke-dashoffset: 0; } }
@keyframes cg-fb-send-tickdraw { 0%, 56% { stroke-dashoffset: 40; } 72%, 100% { stroke-dashoffset: 0; } }
@keyframes cg-fb-send-burst {
0%, 60% { transform: scale(.2); opacity: 0; }
66% { opacity: 1; }
84%, 100% { transform: scale(1.3); opacity: 0; }
}
@keyframes cg-fb-send-label {
0%, 58% { opacity: 0; transform: translateY(8px); }
70%, 92% { opacity: 1; transform: translateY(0); }
100% { opacity: 0; }
}
<div class="cg-fb-send"><svg class="plane" viewBox="0 0 24 24" aria-hidden="true"><path d="M22 2 11 13"/><path d="M22 2 15 22l-4-9-9-4Z"/></svg><i class="burst" aria-hidden="true"></i><svg class="mark" viewBox="0 0 52 52" aria-hidden="true"><circle cx="26" cy="26" r="23"/><path d="M15 27l7 7 15-16"/></svg><span>送信しました</span></div>
GROSS WT. 3053 B
ORIGINAL