摘要:
(1) Css样式提供了运动 过渡的属性transition 从一种情况到另一种情况叫过渡 Transition:attr time linear delay; Attr 是变化的属性 Time 是花费的时间 Linear 变化的速度 Delay 是延迟 复习background:url() no- 阅读全文
posted @ 2018-11-19 20:19
前端学习者1
阅读(90)
评论(0)
推荐(0)
摘要:
面试题作用域 +function(){ console.log(a) var a=5; function a(){} console.log(a) function b(){} b=6 console.log(b) var c=d=b }() console.log(d) console.log(c 阅读全文
posted @ 2018-11-19 20:17
前端学习者1
阅读(112)
评论(0)
推荐(0)
摘要:
1.Js操作css样式 Div.style.width=”100px”.在div标签内我们添加了一个style属性,并设定 了width值。这种写法会给标签带来大量的style属性,跟实际项目是不符。 我们没有让css和html分离。 所以如果是为了获取css样式 window.getCompute 阅读全文
posted @ 2018-11-19 20:11
前端学习者1
阅读(119)
评论(0)
推荐(0)
摘要:
元素的属性 Div.attributes 是所有标签属性构成的数据集合 Div.classList 是所有class名构成的数组集合 在classList的原型链上看以看到add()和remove() 1client系列 (1) clientWidth/clientHeight 是我们设置的宽和高加 阅读全文
posted @ 2018-11-19 20:08
前端学习者1
阅读(110)
评论(0)
推荐(0)

浙公网安备 33010602011771号