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. 监控 Linux 性能的 18 个命令行工具(转)

    http://www.oschina.net/translate/command-line-tools-to-monitor-linux-performance?cmp&p=1# 1.Top- ...

  2. python 使用urllib.urlopen超时问题的解决方法

    准备写一个python脚本抓取网页数据,前面抓了几个都没有什么问题,但总会抓取不完整,在中间过程中没有反应,发现执行urlopen的地方总是提示超时,百度了一下,因为我使用的是urllib不是urll ...

  3. shell取余数

    shell取余数 技术分享 » linux | 阅读(9993) | 评论(0) Sep 3 2010 备忘脚本date取得分钟数$(()) 运算 #execute every 5 minutesa= ...

  4. 每日英语:The Perils Of Giving Advice

    I know what you should do and here's my advice. How many times have you heard that (and groaned)? gr ...

  5. vue 单元测试

    单元测试 配置和工具 任何兼容基于模块的构建系统都可以正常使用,但如果你需要一个具体的建议,可以使用Karma进行自动化测试.它有很多社区版的插件,包括对webpack和browserify的支持. ...

  6. 高德地图sdk的AMapNavi.getInstance为null解决办法

    问题,动态库没有全部导入,之前我只放到了armeabi下,可是没想到我手机是armeabi-v7a的. 最近做Android项目,先用的是百度地图,可是后来发现百度地图没有提供地图的View点击事件( ...

  7. 浅谈weblogic与tomcat的区别

    weblogic是用于开发.集成.部署和管理大型分布式web应用.网络应用和数据库应用的java应用服务器,将java的动态功能和java enterprise标准的安全性引入大型网络应用的开发集成部 ...

  8. 扩展RBAC用户角色权限设计方案<转>

    RBAC(Role-Based Access Control,基于角色的访问控制),就是用户通过角色与权限进行关联.简单地说,一个用户拥有若干角色,每一个角色拥有若干权限.这样,就构造成“用户-角色- ...

  9. Scala中Stream的应用场景及其实现原理

    欢迎关注我的新博客地址:http://cuipengfei.me/blog/2014/10/23/scala-stream-application-scenario-and-how-its-imple ...

  10. 【转】【C#】迭代器IEnumerable和IEnumerator

    迭代器模式是设计模式中行为模式(behavioral pattern)的一个例子,他是一种简化对象间通讯的模式,也是一种非常容易理解和使用的模式.简单来说,迭代器模式使得你能够获取到序列中的所有元素而 ...