亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

這節(jié)還是html的多

original 2019-03-09 17:02:42 247
abstrait:<!DOCTYPE html><html><head><meta charset="UTF-8"><title>Document</title><style>div:nth-child(1) {width: 450px;height: 650px;background-color: lightb

<!DOCTYPE html>

<html>

<head>

<meta charset="UTF-8">

<title>Document</title>

<style>

div:nth-child(1) {

width: 450px;

height: 650px;

background-color: lightblue;

margin: 30px auto;

color: #333;

box-shadow: 0px 0px 10px #808080

}

h2 {

text-align: center;

margin-bottom: -10px;

}

div:nth-child(2) {

width: 400px;

height: 500px;

border: 4px double green;

background-color: white;

margin: 20px auto 10px;

border-radius: 10px;

}

ul {

list-style: none;

line-height: 2em;

/*border: 1px solid red;*/

overflow: hidden;

padding: 15px;

}


table {

width: 90%;

height:80px;

margin: auto;

}


textarea{

/*width: 300px;*/

border: none;

resize: none;

background-color: none;

border-radius: 10px;

}

button {

width: 60px;

height: 40px;

background-color: seagreen;

color: white;

border: none;

border-radius: 10px;

/*text-align: left;*/


}

button:hover {

cursor: pointer;

background-color: orange;

}

</style>

</head>

<body>

<div>

<h2>在線客服</h2>

<div>

<ul>

<li></li>

</ul>

</div>

<table>

<tr>

<td> <textarea name="text" id="" cols="50" rows="4"></textarea> </td>

<td> <button type="button">發(fā)送</button> </td>

</tr>

</table>

</div>

</body>

<script>

var btn = document.getElementsByTagName('button')[0];

var text = document.getElementsByName('text')[0];

var list = document.getElementsByTagName('ul')[0];

var sum = 0;


</script>

</html>

總結(jié):html;再調(diào)css;

Professeur correcteur:韋小寶Temps de correction:2019-03-09 17:27:52
Résumé du professeur:寫的還算是很不錯的 沒事要記得多去練習(xí)練習(xí)哦 可以考慮使用jQuery來把這個項(xiàng)目改寫一下 就是相當(dāng)于是把前端好好復(fù)習(xí)了一下

Notes de version

Entrées populaires