UPDATE
This commit is contained in:
@@ -4,7 +4,31 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Overflow 与尺寸</title>
|
||||
<link rel="stylesheet" href="./starter.css" />
|
||||
<style>
|
||||
body{
|
||||
background-color: rgb(241, 247, 250);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding-top: 40px;
|
||||
}
|
||||
|
||||
.panel{
|
||||
border: 1px solid rgb(207, 216, 227);
|
||||
border-radius: 20px;
|
||||
background-color: white;
|
||||
width: 300px;
|
||||
height: 170px;
|
||||
padding-top: 20px;
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
p{
|
||||
height: 150px;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="panel">
|
||||
|
||||
Reference in New Issue
Block a user