代码演示:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
.box{
margin: 0 auto;
width: 400px;
min-height: 500px;
background-color: pink;
padding: 0 10px;
}
h3{
padding-top: 10px;
text-align: center;
}
#chat{
padding: 15px 10px;
/* width: 480px; */
min-height: 400p