js获取css样式的方法getComputedStyle与JS for 循环中为元素添加点击事件输出问题
<html>
<head>
<title>20211105作业</title>
<meta charset='utf-8'/>
<style>
.box{
width:200px;
height:200px;
border:1px solid red;
float:left;
margin:10px;
}
#one{background-color:red;
原创
2021-11-08 16:54:39 ·
487 阅读 ·
0 评论