css实现三种不同风格雷达圆环进度条效果代码
代码语言:html
所属分类:进度条
代码描述:css实现三种不同风格雷达圆环进度条效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
@import url(https://fonts.googleapis.com/css?family=Lato:700);
*,
*:before,
*:after {
box-sizing: border-box;
}
html,
body {
background: #ecf0f1;
color: #444;
font-family: "Lato", Tahoma, Geneva, sans-serif;
font-size: 16px;
padding: 10px;
}
.set-size {
font-size: 10em;
}
.charts-container:after {
clear: both;
content: "";
display: table;
}
.pie-wrapper {
height: 1em;
width: 1em;
float: left;
margin: 15px;
position: relative;
}
.pie-wrapper:nth-child(3n+1) {
clear: both;
}
.pie-wrapper .pie {
height: 100%;
width: 100%;
clip: rect(0, 1em, 1em, 0.5em);
left: 0;
position: absolute;
top: 0;
}
.pie-wrapper .pie .half-circle {
height: 100%;
width: 100%;
border: 0.1em solid #3498db;
border-radius: 50%;
clip: rect(0, 0.5em, 1em, 0);
left: 0;
position: absolute;
top: 0;
}
.pie-wrapper .label {
background: #34495e;
border-radius: 50%;
.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0