首页 > 代码库 > JS学习中....

JS学习中....

这一周,算是最痛苦的一周了,Js的学习,Dom的理解,Js语言由于是若性语言,所以常遇到写错单词从而导致代码运行不出结果的情况,这就意味着我们写代码的时候得分外小心,分外细心了,下面这是一个简单的留言板。

 
标题:  
姓名:  
内容:  
body{    background-color: black;    margin: 0px;    padding: 0px;    font-family: "微软雅黑";    color: #8f8f8f;}#div1{    width: 700px;    height: 400px;    background-color:  #212629;}#div2{    border: 2px dashed #949494;    width: 700px;    height: 200px;    background-color: black;}.ip input{    width: 270px;    height: 40px;    border-radius: 5px;    background-color: #424242;    border: none;}.ip input:focus{    -webkit-transition:all 2s linear;    background-color: #aeaeae;    width: 300px;}textarea{    background-color: #424242;    border: none;    border-radius: 5px;    width: 270px;    height: 105px;}textarea:focus{    -webkit-transition:all 2s linear;    background-color: #aeaeae;    width: 300px;}.ip{    margin-left: 30px;    padding-top:20px ;    margin-bottom: 10px;}#huifu1{    background-color: black;    color: #8f8f8f;    border: none;    font-family: "微软雅黑";    width: 70px;    height: 40px;    border-radius: 5px;    margin-left: 400px;    margin-top: -55px;}#huifu1:hover{    -webkit-transition:all 1s linear;    background-color: #181616;    box-shadow: 3px 3px 3px 3px black ;    color: #6a6a6a;    font-weight: bold;    font-family: "微软雅黑";    cursor: pointer;}#h1{    color: white;}.p1{    color: #e7bfff;    text-decoration: underline;    cursor: pointer;}