https://github.com/lianbinghua

:nth-child()和:nth-of-type(n)区别

 

ele:nth-child(n) 父元素下第n个元素且这个元素为ele

ele:nth-of-type(n) 指父元素下第n个ele元素

posted @ 2015-02-13 17:29  连冰华  阅读(151)  评论(0编辑  收藏  举报