摘要:
E:nth-last-child(n): 选择某个子元素,从最后一个数起 E:nth-of-type(n): 选择某个某种类型的子元素 E:nth-last-of-type(n): 选择某个某种类型的子元素,从最后一个符合条件的元素数起 E:first-child: 选择第一个子元素(这个伪类在CSS2里就有) E:last-child: 选择最后一个子元素tr:nth-child(2n+1) /* 选择表格里的单数行 */tr:nth-child(odd) /* 同上 */tr:nth-child(2n) /* 选择表格里的双数行 */tr:nth-child... 阅读全文
posted @ 2013-04-26 17:41
浩瀚孤鸿
阅读(233)
评论(0)
推荐(0)
摘要:
1. 测试代码开启 错误提示 使用的代码如下error_reporting( E_ALL & ~(E_STRICT | E_NOTICE | E_WARNING) );ini_set( 'display_errors', 1 ); 阅读全文
posted @ 2013-04-26 10:16
浩瀚孤鸿
阅读(102)
评论(0)
推荐(0)
浙公网安备 33010602011771号