11 2017 档案
摘要:1.使用typeof区分基本数据类型和引用数据类型 2.使用Object.prototype.toString.call()来区分array和object 具体实现代码:
阅读全文
摘要:唤醒qq: http://connect.qq.com/intro/wpa 或则 http://shang.qq.com/v3/widget.html 唤醒阿里旺旺: https://alimarket.taobao.com/markets/qnww/portal-group/ww/wangbian
阅读全文
摘要:1 div::after{ 2 content: attr(data-color); 3 /*attr()可以用在content属性上,但是其余的属于不可以,可以获取自定义属性的上值*/ 4 5 /*font-weight: attr(data-fontWeight font-weight);这是错的*/ 6 ...
阅读全文
摘要:1 <style> 2 div{ 3 width: 100px; 4 height: 100px; 5 } 6 .div1{background: red;display: none;} 7 .div2{background: yellow} 8 .div3{background: blue} 9
阅读全文

浙公网安备 33010602011771号