css+svg实现扇形步骤提示条效果代码
代码语言:html
所属分类:布局界面
代码描述:css+svg实现扇形步骤提示条效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/modernizr.2.8.3.js"></script>
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/normalize.css">
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Open+Sans:400,600,700,300'>
<style>
@namespace svg url(http://www.w3.org/2000/svg);
* {
box-sizing: border-box;
}
html, body {
height: 100%;
max-height: 100%;
margin-left: 300px;
}
body {
display: flex;
padding: 1.5rem;
margin: 0;
font-family: "Open Sans", arial, sans-serif;
font-size: 1em;
line-height: 1.5em;
}
svg {
overflow: hidden;
width: 100%;
max-height: 100%;
}
#cie-exam-cycle {
/*[id^="seg-"] {
transform-origin: 50% 50%;
transform: scale(1);
}*/
}
#cie-exam-cycle .segment {
fill: #0081c6;
stroke: #ffffff;
stroke-width: 2;
}
#cie-exam-cycle #seg-1 .segment {
fill: #0081c6;
}
#cie-exam-cycle #seg-2 .segment {
fill: #4694d0;
}
#cie-exam-cycle #seg-3 .segment {
fill: #88b2df;
}
#cie-exam-cycle #seg-4 .segment {
fill: #adc8e9;
}
#cie-exam-cycle #seg-5 .segment {
fill: #c7d8ef;
}
#cie-exam-cycle #seg-6 .segment {
fill: #eef2fa;
}
#cie-exam-cycle a,
#cie-exam-cycle .segment,
#cie-exam-cycle .circle,
#cie-exam-cycle .step-descrip.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0