摘要:        
1:理解View :<meta name="viewport" content="width=device-width,initial-scale=1.0"> 2. 自适应宽度:width:100%,max-width:640px,min-width:320px 3. 单位:我们可以用px也可以re    阅读全文
        
            posted @ 2016-11-15 15:59
谢玉胜
阅读(1994)
评论(1)
推荐(0)
        
        
            
        
        
摘要:        
上图    阅读全文
        
            posted @ 2016-11-15 14:24
谢玉胜
阅读(1535)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
hover我们可以用css的方式写,当然,也可以用js的方式写    阅读全文
        
            posted @ 2016-11-15 14:18
谢玉胜
阅读(1821)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
主要思路就是:返回this对象,将所获取的操作元素放入一个数组中。在原型中添加拓展方法    阅读全文
        
            posted @ 2016-11-15 14:16
谢玉胜
阅读(910)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
//封装获取元素 /* js的获取元素:ID:document.getElementById(); class:document.getElementsByName()[]; Tag:document.getElementsByTagName()[] 现在我们要简单的封装这个 1:函数写法: function $(id){ ...    阅读全文
        
            posted @ 2016-11-15 14:13
谢玉胜
阅读(297)
评论(0)
推荐(0)
        
        
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号