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. PHP 5.3以上版本推荐使用mysqlnd驱动

    什么是mysqlnd?mysqldnd(MySQL native driver)是由PHP源码提供的mysql驱动连接代码.它的目的是代替旧的libmysql驱动. 传统的安装php的方式中,我们在编 ...

  2. 对称加密算法-DES以及DESede算法

    一.简述 对称加密算法就是能将数据加解密.加密的时候用密钥对数据进行加密,解密的时候使用同样的密钥对数据进行解密. DES是美国国家标准研究所提出的算法.因为加解密的数据安全性和密钥长度成正比.des ...

  3. Hadoop单机Hadoop测试环境搭建

    Hadoop单机Hadoop测试环境搭建: 1. 安装jdk,并配置环境变量,配置ssh免密码登录 2. 下载安装包hadoop-2.7.3.tar.gz 3. 配置/etc/hosts 127.0. ...

  4. 好工具 VHD

    通过powershell 互转 Convert-VHD –Path F:\debian.vhdx –DestinationPath F:\debian.vhd 举个栗子 附加参考 Convert-VH ...

  5. 关于Context

    Context字面意思是上下文,位于framework package的android.content.Context中,其实该类为LONG型,类似Win32中的Handle句柄.很多方法需要通过 C ...

  6. 一款基于jQuery的热点新闻Tab选项卡插件

    今天要分享的jQuery焦点图插件非常适合展示热点新闻,之前我们分享过好多基于jQuery的焦点图插件,效果都还很不错.它可以在图片上方展示文字标题,并且焦点图的切换按钮时tab风格的,图片切换也十分 ...

  7. centos7系统nginx下phalcon环境搭建

    之前我们采用的是Apache服务器,可是每秒响应只能达到2000,听说nginx可以轻易破万, 于是换成nginx试试. phalcon的官网有nginx重写规则的示例,可是却与apache的不一致, ...

  8. buildroot 修改root密码后无法登录ssh解决方法

    客户说想修改root密码后再登录ssh, 研究了一下,是因为ssh登录是匹配了之前的 密码生成文件,只要把之前的密码生成文件删除就可以. 过程如下: 删除 /etc/ssh/ssh_host*. rm ...

  9. udp program

    UDP program UDP常用函数:recvfrom和sendto recvfrom ssize_t recvfrom(int sockfd, void *buf, size_t len, int ...

  10. java访问属性