Home  >  Article  >  Web Front-end  >  jquery nth-child()选择器的简单应用_jquery

jquery nth-child()选择器的简单应用_jquery

WBOY
WBOYOriginal
2016-05-16 18:23:241428browse

通过网上咨询使用这个选择器便很容易的解决。特此记录一下。
下面是主要的代码
js脚本:

复制代码 代码如下:



html代码:
复制代码 代码如下:



具体的用法这里就不写了,大家可以参考
http://www.jb51.net/css/28294.html 
http://www.jb51.net/article/23617.htm
效果图如下:
jquery nth-child()选择器的简单应用_jquery
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn