CSS3选择器(二)
来源:互联网 发布:时间管理的软件 编辑:程序博客网 时间:2024/05/24 05:23
选择器:first-child last-child nth-child nth-last-child
att:first-child:元素中的第一个子元素
att:last-child:元素中的最后一个子元素
att:nth-child(position):正position位被选中
att:nth-last-child(position):倒数第position位被选中(odd/even奇偶也可以)
选择器:nth-of-type nth-last-of-type
nth-of-type(odd/even): 将类似模块元素归为一组
nth-last-of-type:倒叙
选择器:only-child
only-child:只有一个子元素的时候可以代替nth-child和nth-last-child
选择器:UI元素状态伪类选择器
att:hover 鼠标掠过
att:focus 获取焦点的颜色
att:active 鼠标按住的颜色
选择器:enabled disabled(一共17个伪元素选择器)
选择器:通用兄弟元素选择器 att~att
0 0
- CSS3选择器(二)
- CSS3选择器(二)
- CSS3选择器详解二
- CSS3(二)选择器
- CSS3知识点整理(二)----CSS3选择器
- CSS3知识点整理(二)----CSS3选择器
- CSS3知识点整理(二)----CSS3选择器
- (二)CSS3的选择器
- css3--学习记录二(选择器)
- 《CSS3实战》笔记--选择器(二)
- CSS3新特性(二)选择器
- CSS3选择器
- css3选择器
- CSS3选择器
- CSS3 选择器
- CSS3 选择器
- css3选择器
- CSS3 选择器
- Xcode自带头文件的路径
- 图像的纹理特征
- boost::asio性能测试记录
- 将博客搬至51CTO
- 修改了系统自带头文件后,Xcode会报错
- CSS3选择器(二)
- 第三节:欠拟合与过拟合的概念
- 手机充电器电路图应用讲解
- 在AngularJs中怎么设置请求头信息(headers)及不同方法的比较
- 软件文档概述(一)
- 斯坦福数据挖掘不同版本课件讲局部敏感哈希中MinHash的理解
- 字符串匹配的KMP算法
- VS2010输出标准信息(stdout)到output窗口
- MFC——属性页对话框的创建