2016年10月12日

Google统计

摘要: <!-- Google Analytics --><script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r] 阅读全文

posted @ 2016-10-12 15:06 胡小西去哪儿了 阅读(583) 评论(0) 推荐(0)

2016年9月28日

CSS从大图片上截取小图标的操作以及三角形的画法

摘要: #name{ background:url(images/name.png) no-repeat 2px 2px; background-position: -2px -70px;//其中这个是定位图片中的位置的,从左上角坐标为(-0px;-0px;);} 三角形的画法:http://www.jb5 阅读全文

posted @ 2016-09-28 14:24 胡小西去哪儿了 阅读(328) 评论(0) 推荐(0)

CSS3样式问题

摘要: empty-cells 属性设置是否显示表格中的空单元格 tr:nth-child(even)偶数行的表格 li:nth-child(20)指定位置 2016-09-2813:23:45 阅读全文

posted @ 2016-09-28 13:28 胡小西去哪儿了 阅读(171) 评论(0) 推荐(0)

2016年7月18日

spilt()的用法

摘要: split() 方法用于把一个字符串分割成字符串数组。<script type="text/javascript"> var str="How are you doing today?" document.write(str.split(" ") + "<br />")document.write( 阅读全文

posted @ 2016-07-18 12:00 胡小西去哪儿了 阅读(1016) 评论(1) 推荐(0)

导航