tailwind布局文字图表卡片效果代码
代码语言:html
所属分类:布局界面
代码描述:tailwind布局文字图表卡片效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/particles-min.js"></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap">
<style>
body { font-family: 'Inter', sans-serif; }
#particles-js {
position: fixed;
inset: 0;
z-index: 0;
width: 100vw;
height: 100vh;
}
.circle-chart {
transform: rotate(-90deg);
transform-origin: center;
}
@keyframes progressAnimation {
0% { stroke-dashoffset: 565.48; }
100% { stroke-dashoffset: var(--dash-offset); }
}
.progress-circle {
stroke-dasharray: 565.48; /* 2PI×r, where r=90 */
stroke-dashoffset: var(--dash-offset);
animation: progressAnimation 1.5s ease-out forwards;
}
</style>
<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/tailwindcss.3.4.16.js"></script>
<.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0