摘要:
本文转载自wliuxia《实现单行超出部分,省略号表示 兼容各浏览器》这里介绍两种方法,都是css实现的,其他的js,jq代码,可以去网上搜索很多。第一种:margin负值定位法这是一段比较长的文字,用来测试是否文字溢出时会用省略号显示。….text 阅读全文
本文转载自wliuxia《实现单行超出部分,省略号表示 兼容各浏览器》这里介绍两种方法,都是css实现的,其他的js,jq代码,可以去网上搜索很多。第一种:margin负值定位法这是一段比较长的文字,用来测试是否文字溢出时会用省略号显示。….text 阅读全文
posted @ 2014-07-08 15:58
huihui2014
阅读(333)
评论(0)
推荐(0)
摘要:
隔行变色: #list1 li:nth-of-type(odd){ background:#00ccff;}奇数行 #list1 li:nth-of-type(even){ background:#ffcc00;}偶数行 #list2 li:nth-child(4n+1){ background:#... 阅读全文
隔行变色: #list1 li:nth-of-type(odd){ background:#00ccff;}奇数行 #list1 li:nth-of-type(even){ background:#ffcc00;}偶数行 #list2 li:nth-child(4n+1){ background:#... 阅读全文
posted @ 2014-07-08 15:48
huihui2014
阅读(284)
评论(0)
推荐(0)

浙公网安备 33010602011771号