摘要:
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 阅读全文
摘要:
1.事件触发的先后顺序是mousedown,mouseup,click,mousedown,mouseup,dblclick, 2.obj.onclick=function(e){e.type} 找出事件类型 下面用一个简单小案例解释 点击div里面的两段文字分别执行不同事件,同时在div进行鼠标事 阅读全文
摘要:
1 9 10 11 12 13 阅读全文
摘要:
1.<meta charset="urf-8" > 设置字符集编码格式 2.<meta name="description" content="take notes"> 设置描述信息 3.<meta name="author" content="cyany">设置作者信息 4.<meta name= 阅读全文
摘要:
1.ctrl+tab,在内容里面切换选项卡 2.alt+tab,或则window+tab 开启的窗口进行切换 3.window+r 输入notepad 打开记事本 4.Window+e 打开我的电脑 5.f2 快速修改文件名 6.Window+l 锁屏 7.window+d 桌面与当前窗口的来回切换 阅读全文
摘要:
1 *{ 2 margin: 0; 3 padding: 0; 4 } 5 img{ 6 width: 100%; 7 height: auto; 8 } 9 .bigbox{ 10 position: relative; 11 } 12 .smallbox{ 13 width: 100%; 14 阅读全文
摘要:
1.更改placeholder的文字颜色 2.让google iframe map 背景颜色变为灰白 阅读全文
摘要:
xiaowwang闭包自调用return info;调用sendMessage方法,判断是否存在men,不存在的话,实例化men,最后实现构造函数里面的属性获取得到想要信息。 阅读全文