分类目录 共计收录4183站; 资讯文章4607篇; 待审网站 1018站; 当月收录23站; 今日审核0站; 已收到1个打赏!
快审详情
快审qq
首页 > 教程收藏 > CSS教程

操作导向代码

导向

第一步kVp网站目录

第一步 第二步kVp网站目录

第一步 第二步第三步kVp网站目录

第一步 第二步 第三步 第四步kVp网站目录

第一步 第二步 第三步 第四步 第五步kVp网站目录

HTML代码

<div class="four steps">kVp网站目录

  <span class="step">第一步</span>kVp网站目录

  <span class="active step">第二步</span>kVp网站目录

  <span class="disabled step">第三步</span>kVp网站目录

  <span class="disabled step">第四步</span>kVp网站目录

</div>kVp网站目录


kVp网站目录

CSS代码


kVp网站目录

.steps,.step{display:inline-block;position:relative;padding:1em 2em 1em 3em;vertical-align:top;background-color:#FFF;color:#888;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}kVp网站目录

.step:after,.steps .step:after{position:absolute;z-index:2;content:'';top:0;right:-1.45em;border-bottom:1.5em solid transparent;border-left:1.5em solid #FFF;border-top:1.5em solid transparent;width:0;height:0}kVp网站目录

.step,.steps .step,.steps .step:after{-webkit-transition:opacity .1s ease,color .1s ease,-webkit-box-shadow .1s ease;transition:opacity .1s ease,color .1s ease,box-shadow .1s ease}kVp网站目录

.steps{cursor:pointer;display:inline-block;font-size:0;box-shadow:0 0 0 1px rgba(0,0,0,.1);line-height:1;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;border-radius:.3125rem}kVp网站目录

.steps .step:first-child{padding-left:1.35em;border-radius:.3125em 0 0 .3125em}kVp网站目录

.steps .step:last-child{border-radius:0 .3125em .3125em 0}kVp网站目录

.steps .step:only-child{border-radius:.3125em}kVp网站目录

.steps .step:last-child{margin-right:0}kVp网站目录

.steps .step:last-child:after{display:none}kVp网站目录

.step:hover,.step.hover{background-color:#F7F7F7;color:rgba(0,0,0,.8)}kVp网站目录

.steps .step.hover:after,.steps .step:hover:after,.step:hover,.step.hover::after{border-left-color:#F7F7F7}kVp网站目录

.steps .step.down,.steps .step:active,.step.down,.step:active{background-color:#F0F0F0}kVp网站目录

.steps .step.down:after,.steps .step:active:after,.steps.down::after,.steps:active::after{border-left-color:#F0F0F0}kVp网站目录

.steps .step.active,.active.step{cursor:auto;background-color:#428BCA;color:#FFF;font-weight:700}.steps .step.active:after,.active.steps:after{border-left-color:#428BCA}kVp网站目录

.steps .disabled.step,.disabled.step{cursor:auto;background-color:#FFF;color:#CBCBCB}kVp网站目录

.disabled.step:after{border:0;background-color:#FFF;top:.42em;right:-1em;width:2.15em;height:2.15em;-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg);box-shadow:-1px -1px 0 0 rgba(0,0,0,.1) inset}kVp网站目录

.attached.steps{margin:0;border-radius:.3125em .3125em 0 0}kVp网站目录

.attached.steps .step:first-child{border-radius:.3125em 0 0}kVp网站目录

.attached.steps .step:last-child{border-radius:0 .3125em 0 0}kVp网站目录

.bottom.attached.steps{margin-top:-1px;border-radius:0 0 .3125em .3125em}kVp网站目录

.bottom.attached.steps .step:first-child{border-radius:0 0 0 .3125em}kVp网站目录

.bottom.attached.steps .step:last-child{border-radius:0 0 .3125em}kVp网站目录

 kVp网站目录

/*向导数量*/kVp网站目录

.one.steps,.two.steps,.three.steps,.four.steps,.five.steps,.six.steps,.seven.steps,.eight.steps{display:block}kVp网站目录

.one.steps>.step{width:100%}kVp网站目录

.two.steps>.step{width:50%}kVp网站目录

.three.steps>.step{width:33.333%}kVp网站目录

.four.steps>.step{width:25%}kVp网站目录

.five.steps>.step{width:20%}kVp网站目录

.six.steps>.step{width:16.666%}kVp网站目录

.seven.steps>.step{width:14.285%}kVp网站目录

.eight.steps>.step{width:12.5%}kVp网站目录

 kVp网站目录

/*向导尺寸*/kVp网站目录

.small.step,.small.steps .step{font-size:.8rem}/*小*/kVp网站目录

.step,.steps .step{font-size:1rem}/*默认*/kVp网站目录

.large.step,.large.steps .step{font-size:1.25rem}/*大*/kVp网站目录


kVp网站目录

此文由 网站目录 编辑,未经允许不得转载!:

评论 暂无评论
-->