2018年10月10日

摘要: function sum(x){ if(window.timer){ clearTimeout(window.timer) } const temp =(y)=>{ return sum(x*y) } temp.result = ()=>x window.timer = setTimeout(()= 阅读全文
posted @ 2018-10-10 09:06 geekjames1 阅读(392) 评论(0) 推荐(0)

2018年10月9日

摘要: 不可继承属性1.display2.text-decoration 添加文本样式3.list-style4.盒子模型属性(如padding系列,border系列,margin等,width,height)5.背景属性 background系列6.定位属性 position float clear z- 阅读全文
posted @ 2018-10-09 21:32 geekjames1 阅读(505) 评论(1) 推荐(0)
摘要: tap选择器 ulclass选择器 .id选择器 #后代选择器 a b子代选择器 a>b兄弟选择器 a + b 以a为参考给b加样式属性选择器 input [type="text"] css3新增选择器:not 不包含某项 如 :not(:last-child):nth-child 第几项 只考虑自 阅读全文
posted @ 2018-10-09 21:13 geekjames1 阅读(112) 评论(0) 推荐(0)
摘要: 行类元素 em i span a big stong b input textarea 1.不会独占一行 2.排列方式为从左到右 3.设置高宽没有作用 4.不设置高宽是其本身的高宽 5.行内元素不能嵌套块级元素(特殊a) 块级元素 p div nav ul li table 1.会独占一行 2.排列 阅读全文
posted @ 2018-10-09 20:33 geekjames1 阅读(724) 评论(0) 推荐(0)

导航