css已领取盖章效果

折腾 3月前 1224

HTML

<div class="circle">已领取</div>

CSS

.circle {
	display:flex;
	align-items:center;
	justify-content:center;
	position:absolute;
	right:30px;
	top:30px;
	width:50px;
	height:50px;
	font-size:12px;
	color:gray;
	border-radius:50%;
	border:2px solid rgba(0,0,0,0.2);
	transform:scale(1) rotateZ(-35deg);
	transition:all;
	animation:rollingover 0.6s ease-in;
}
@keyframes rollingover {
	0% {
	opacity:0.1;
	transform:scale(1) rotateZ(-35deg) rotateY(0deg);
}
50% {
	opacity:0.5;
	transform:scale(1.5) rotateZ(-35deg) rotateY(180deg);
}
100% {
	opacity:1;
	transform:scale(1) rotateZ(-35deg) rotateY(0deg);
}
}.circle::after {
	content:"";
	display:block;
	position:absolute;
	width:40px;
	height:40px;
	border-radius:50%;
	border:2px dotted rgba(0,0,0,0.2);
}

──── 0人觉得很赞 ────
最新回复 (0)
    暂无回复,快来抢沙发吧

    暂无回复,快来抢沙发吧

返回