摘要:
一、零碎 1、first-child、last-child、nth-child(n)、nth-child(2n)、nth-child(2n-1)、nth-child(odd)、nth-child(even)、nth-last-child(3)(倒数第三个) 注意点: 选择器匹配属于其父元素的第 N 阅读全文
posted @ 2017-08-18 15:15
HelenJ
阅读(19565)
评论(0)
推荐(0)
摘要:
1、如果WINDOW对象是常规HTML页面,TOP就是SELF var top = document.getElementById('top'); top.innerHTML //undefined 2、ev.stopPropagation(); //阻止事件冒泡 li.onmouseout = f 阅读全文
posted @ 2017-08-18 15:13
HelenJ
阅读(199)
评论(0)
推荐(0)

浙公网安备 33010602011771号