per-Css-ol
.ol {
cursor:pointer;
list-style-type: none;
counter-reset: sectioncounter;
}
.ol li:before {
font-family: Helvetica, Arial, sans-serif;
content: "第" counter(sectioncounter) "步";
counter-increment: sectioncounter;
}
.bookmarks {
display: inline-block;
background: #21A557;
width: 80px;
color: #fff;
position: relative;
height: 24px;
line-height: 24px;
margin: 5px 0;
text-indent: 0.5em;
}
.bookmarksArro {
width: 0;
position: absolute;
right: 0;
top: 0px;
height: 0;
width: 0;
border-width: 12px;
border-style: dashed solid dashed dashed;
border-color: transparent #fff transparent transparent;
}
/*书签ol bookmarks 利用border制作的小三
角 可改变三角形位置和颜色组合不同样式(自己修改)*/
.vol {
display: inline-block;
background: #21A557;
width: 24px;
white-space: normal;
color: #fff;
position: relative;
height: 80px;
text-align: center;
margin: 5px 0;
}
.volArro {
width: 0;
position: absolute;
right: 0;
bottom: 0px;
height: 0;
width: 0;
border-width: 12px;
border-style: dashed dashed solid dashed;
border-color: transparent transparent #fff transparent;
}/*vertical ol 简称vol*/
.radius {
background: #21A557;
display: inline-block;
color: #FFF;
vertical-align: middle;
width: 60px;
height: 60px;
line-height: 60px;
text-align: center;
border-radius: 50%;
}/*圆角 ol*/
.cube {
display: inline-block;
background: #21A557;
padding: 6px 12px;
color: #fff;
position: relative;
text-align: center;
margin: 5px 0;
}/*方形 ol*/
.triangle {
display: inline-block;
width: 80px;
color: #000;
position: relative;
height: 24px;
line-height: 24px;
margin: 5px;
text-indent: 0.5em;
}
.triaArro {
width: 0;
position: absolute;
right: -10px;
top: 0px;
height: 0;
width: 0;
border-width: 12px;
border-style: dashed dashed dashed solid;
border-color: transparent transparent transparent #21A557;
}
/*常见的triangle三角形 ol*/
.semiCircle {
background: #21A557;
display: inline-block;
color: #FFF;
vertical-align: middle;
width: 60px;
height: 60px;
position: relative;
line-height: 60px;
overflow: hidden;
text-align: center;
border-radius: 50%;
}
.semiArro {
width: 0;
position: absolute;
left: 18px;
bottom: -10px;
height: 0;
width: 0;
border-width: 12px;
border-style: solid dashed dashed dashed;
border-color: #fff transparent transparent transparent;
z-index: 100;
}
/*圆内三角形可改变三角形位置来组合不同图像*/
.border {
background: #fff;
display: inline-block;
color: #21A557;
vertical-align: middle;
width: 60px;
border: 2px solid #21A557;
height: 60px;
line-height: 60px;
text-align: center;
border-radius: 50%;
}

纯CSS序列号的更多相关文章

  1. 谈谈一些有趣的CSS题目(八)-- 纯CSS的导航栏Tab切换方案

    开本系列,谈谈一些有趣的 CSS 题目,题目类型天马行空,想到什么说什么,不仅为了拓宽一下解决问题的思路,更涉及一些容易忽视的 CSS 细节. 解题不考虑兼容性,题目天马行空,想到什么说什么,如果解题 ...

  2. 一个标签的72变,打造一个纯CSS图标库

    每次要用到图标的时候都会到 icono 去copypaste,但每次用到的时候尺寸都各不一样,总是要调整参数,巨烦.当然你可以会想到用zoom.scale来做缩放,但是这样的缩放会使得线宽也变粗了,不 ...

  3. 利用animation和text-shadow纯CSS实现loading点点点的效果

    经常在网上看到loading状态时的点点点的动态效果,自己也用JS写了一个,思路是使用一个计数参数,然后在需要添加点的元素后面利用setInterval一个一个加点,当计数到3时,把点变为一个--写完 ...

  4. 使用纯CSS实现带箭头的提示框

    爱编程爱分享,原创文章,转载请注明出处,谢谢!http://www.cnblogs.com/fozero/p/6187323.html 1.全部代码 <!DOCTYPE html> < ...

  5. 用纯css改变下拉列表select框的默认样式(不兼容IE10以下)

    在这篇文章里,我将介绍如何不依赖JavaScript用纯css来改变下拉列表框的样式.     事情是这样的,您的设计师团队向您发送一个新的PSD(Photoshop文档),它是一个新的网站的最终设计 ...

  6. CSS 魔法系列:纯 CSS 绘制三角形(各种角度)

    我们的网页因为 CSS 而呈现千变万化的风格.这一看似简单的样式语言在使用中非常灵活,只要你发挥创意就能实现很多比人想象不到的效果.特别是随着 CSS3 的广泛使用,更多新奇的 CSS 作品涌现出来. ...

  7. 纯CSS实现二级下拉导航菜单

    这是一款纯CSS菜单,二级下拉导航效果,是最简洁的CSS导航菜单,兼容性也很棒,IE7/8.火狐等都支持,而且它还是学习CSS菜单编写的典型教程,让你学会很多CSS技巧. 运行效果截图如下: < ...

  8. 纯CSS完成tab实现5种不同切换对应内容效果

    很常用的一款特效纯CSS完成tab实现5种不同切换对应内容效果 实例预览 下载地址 实例代码 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 ...

  9. 简单而兼容性好的Web自适应高度布局,纯CSS

    纯CSS实现的自适应高度布局,中间内容不符自动滚动条.兼容IE9以上.chrome.FF.关键属性是box-sizing: border-box. 不废话,直接上代码: <!doctype ht ...

随机推荐

  1. 如何在IIS7或IIS7.5中导入导出站点及应用程序池. -摘自网络

    为实现负载平衡,我们可能会使用多个WEB服务器,也就会需要给多个IIS配置同样的站点和应用程序池.那么我们需要一个一个的重新建吗?当然不用,我们只需要一些简单的命令就可以在IIS7(Windows S ...

  2. U3D安卓下OnApplicationQuit不执行的解决方法

    安卓下当你按Home键,程序会进入暂停状态.所以只能改成调用OnApplicationPause. Unity论坛上说实现IDispose接口也可以,似乎IOS可以,但安卓测试了,无效.

  3. 异步FIFO的FPGA实现

    本文大部分内容来自Clifford E. Cummings的<Simulation and Synthesis Techniques for Asynchronous FIFO Design&g ...

  4. Altera Quartus II下载中途失败

    1.Altera 的quartus II 下载程序时中途失败,有可能是程序写的不对(缺少初始状态,else补全等等) 2.下载程序pof最好也用英文命名,再下载.

  5. cxf动态调用webservice设置超时,测试线程安全

    Java代码 import java.util.Random; import java.util.concurrent.ArrayBlockingQueue; import java.util.con ...

  6. JqERY

    //下拉菜单样式 /*查找全部select的下拉菜单*/ function getElemsById(cot_val){ return document.getElementById(cot_val) ...

  7. pycharm编写spark程序,导入pyspark包

    一种方法: File --> Default Setting --> 选中Project Interpreter中的一个python版本-->点击右边锯齿形图标(设置)-->选 ...

  8. rsync+inotify-tools

    源服务器:192.168.0.100   目标服务器:192.168.0.101   目的:把源服务器上/home/test目录实时同步到目标服务器的/home/test下   具体操作:   第一部 ...

  9. STUN协议简析

    http://blog.csdn.net/mazidao2008/article/details/4934257 ——————————————————————————————————————————— ...

  10. php之道

    PHP The Right Way. Tweet 欢迎 目前网络上充斥着大量的过时资讯,让 PHP 新手误入歧途,并且传播着错误的实践以及不安全的代码.PHP 之道 收集了现有的 PHP 最佳实践.编 ...