css3有用效果
2015-09-24 22:00
597 查看
斑马线:
ul li:nth-child(odd) { background-color: #f4f4f4;} 奇数
.main_right_dian:nth-child(even) {background-color: #f4f4f4;} 偶数
.warp_box .tabbox tbody tr:nth-child(odd){ background:#f8f8f8;}
.warp_box .tabbox tbody tr:nth-child(even){ background:#f8f8f8;}
li里的a和span同时改变
div li a:hover 表示当鼠标移动到a上头的样式
div li:hover a 表示当鼠标移到li上头时,a的样式
ul li:nth-child(odd) { background-color: #f4f4f4;} 奇数
.main_right_dian:nth-child(even) {background-color: #f4f4f4;} 偶数
.warp_box .tabbox tbody tr:nth-child(odd){ background:#f8f8f8;}
.warp_box .tabbox tbody tr:nth-child(even){ background:#f8f8f8;}
li里的a和span同时改变
div li a:hover 表示当鼠标移动到a上头的样式
div li:hover a 表示当鼠标移到li上头时,a的样式
相关文章推荐
- CSS3基础
- ArcGIS中定义图框样式
- HTML(网页设计)必用的设计模式---------CSS网页编程
- CSS3照片墙制作
- css3的3D transform变换
- css防止ul下的li换行(li超出宽度变成…)代码
- CSS-3 box-shadow 的使用
- css3背景渐变以及图片混合渲染模式(二)
- C#日历样式的下拉式计算器实例讲解
- 无用的css样式怎么去清除?
- 编译原理-正式和非正式的样式集
- js+css实现返回顶部功能
- grunt合并压缩js,css文件
- placeholder样式写法
- 使用NPOI 汇出EXCEL,设置样式,字体等
- css 计数器
- 块级元素和行内元素
- UL下的LI用正则表达式替换样式
- css 图片文字居中对齐方案
- 手机web——自适应网页设计(html/css控制)