摘要: setTimeout(fun,time)表示time毫秒后执行fun函数。 SetInterval(fun,time)表示每隔time毫秒执行fun函数一次。 setInterval是间隔执行 setTimeout是延迟执行 阅读全文
posted @ 2016-03-18 15:35 框框A 阅读(311) 评论(0) 推荐(0) 编辑
摘要: #hexagon { width: 100px; height: 55px; background: red; position: relative; } #hexagon:before { content: ""; position: absolute; top: -25px; left:... 阅读全文
posted @ 2016-03-18 11:37 框框A 阅读(1007) 评论(0) 推荐(0) 编辑