摘要:
Document变高
变宽
变色
重置
隐藏
显示
var box;
window.οnlοad=function(){
box=document.getElementById('box');
}
function aa(){
box.style.height="400px";
}
function bb(){
box.style.width="400px";
}
function cc(){
box.style.background="pink";
}
function dd(){
box.style.width="100px";
box.style.height="100px";
box.style.backgorund="red";
}
function ee(){
box.style.display="none";
}
function ff(){
box.style.display="block";
}
批改老师:查无此人批改时间:2019-03-25 09:22:51
老师总结:完成的不错。下次把代码缩进下。继续加油。