nth-of-type
2016-05-26 15:34
148 查看
ul li{ height:53px; line-height:53px; border-top:1px solid #e5e5e5; display:block;color:#444; }
ul li:nth-of-type(1){ border-top:0; }
当只有第一条数据和其他数据不同时,可以使用nth-of-type作区分
ul li:nth-of-type(1){ border-top:0; }
当只有第一条数据和其他数据不同时,可以使用nth-of-type作区分
相关文章推荐
- Codeforces Round #354 (Div. 2) C. Vasya and String
- Leetcode 之Length of Last Word(38)
- ubuntu 安装zabbix_agent端
- java.net.SocketException: socket failed: EACCES (Permission denied)
- Qt/C++ QSlider解决点击不能到该位置问题
- 轻松掌握JavaScript中的Math object数学对象
- enclosejs打包工具的使用方法
- 自带内存分配器的内存检测方法
- 安装2:cannot save the license information because access to the registry is denied......
- MFC基于对话框的的多点触控简单画图程序
- RMQ问题分析
- c++二叉树
- 从句的判别
- nginx的root和alias指令的区别
- 忆仙剑
- Play Framework, Server Sent Events and Internet Explorer
- Android Runnable运行在哪个线程
- CQU 雷神之路(DP+矩阵加速)
- Swift\本地文件管理
- CodeForces651BBeautiful Paintings