我在用vs做网页,但在设置css的时候不知道怎么弄文字框结果弄成这样了,请问如果要设成下面那张图里的样子要怎么写代码?
我写的代码是
box {
height: 300px;
width: 80%;
background-color: white;
margin: 10px;
border:10px solid black;
}
words {
font-family: 'Times New Roman', Times, serif;
font-size: 20px;
}
<box class="row">
<words>
文字
</words>
</box>
```**