css已领取盖章效果

站长 折腾 10月前 2858

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)
返回