<分区>
<分区>
<pre>
<head>
<style>
body{
background-color: blue;
}
.a
{
background-color: white;
display: block;
margin: auto;
border-color: white;
border-style: solid;
border-radius: 10px;
text-align: center;
border-color: black;
border-radius: 2px;
width: 400px;
height: 600px;
}
</style>
</head>
<body>
<div class="a">
<h1>SignUp</h1>
</div>
</body>
</pre>
我不明白为什么 border 属性不起作用请向我解释。 (我删除了基本标签,因为网站说代码太多)。
最佳答案
关于html - 我不明白为什么 border 属性不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59442535/