zoukankan
html css js c++ java
###奇偶隔行变色--表格
###奇偶隔行变色--表格
index.js
import $ form 'jquery'
$(function() {
$('li:odd').css('backgroundColor', 'pink')
$('li:even').css('backgroundColor', 'lightblue')
})
------index.html
<ul>
<li></li>
</ul>
查看全文
相关阅读:
小明系列问题——小明序列
Multiplication Table
DZY Loves Colors
Points
Tree
img标签中alt属性与title属性在seo的作用-摘自网友
如何合理命名CSS文件——摘自网友
<meta http-equiv="X-UA-Compatible" content="IE=7" />
英语
10个CSS简写/优化技巧-摘自网友
原文地址:https://www.cnblogs.com/fdxjava/p/11783195.html
最新文章
Katu Puzzle POJ
Ikki's Story IV
Eliminate the Conflict HDU
Map Labeler POJ
Get Luffy Out * HDU
模块的认识
迭代器、生成器、面向过程编程
函数的补充
闭包函数及装饰器
进阶函数
热门文章
初识函数
文件操作的其他模式补充
文件操作
字符编码
数据类型的内置方法
Jzzhu and Chocolate
Seek the Name, Seek the Fame
Oulipo
Power Strings
Period
Copyright © 2011-2022 走看看