摘要:html>
DOM实战模拟智能在线客服系统div:nth-child(1html>
DOM实战模拟智能在线客服系统div:nth-child(1){
width: 450px;
height: 650px;
margin: 30px auto;
color: #333;
}
h2{
text-align: left;
margin-bottom: -10px;
}
.div2{
width: 100%;
height: 500px;
}
ul{
list-style: none;
line-height: 2em;
overflow: hidden;
}
table{
width: 90%;
height: 80px;
margin:auto;
}
textarea{
height: 40px;
}
button{
width: 50px;height: 46px;background-color:seagreen;color: white;border: none;
}
button:hover{
cursor: pointer;background-color:orange;
}
发送 |
let btn = document.getElementsByTagName('button').item(0);
批改老师:灭绝师太批改时间:2018-12-01 09:27:52
老师总结:布局样式要讲究点呀!刚好练习一下前端布局!