码迷,mamicode.com
首页 > 其他好文 > 详细

选择器

时间:2017-08-19 20:01:46      阅读:150      评论:0      收藏:0      [点我收藏+]

标签:ext   hit   sans   port   混淆   意思   oat   nsf   round   

:gt(index)

:gt 选择器选取 index 值高于指定数的元素。

index 值从 0 开始。

例子:

:gt(6).hide()   就是在6以后,隐藏

 

 

:not(.index)

大致意思就是选取除了.index指定元素以外的所有元素。

大家可能会混淆,有一个长得差不多的

not(): 从匹配元素集合中删除元素。

 

选择器

标签:ext   hit   sans   port   混淆   意思   oat   nsf   round   

原文地址:http://www.cnblogs.com/xiaoyangtian/p/7397441.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!