使用border-radius属性设置四个border-radius属性。您可以尝试运行以下代码以实现border-radius属性-
<html>
<head>
<style>
#rcorner {
border-radius: 25px;
background: #8AC007;
padding: 20px;
width: 200px;
height: 150px;
}
</style>
</head>
<body>
<p id="rcorner">Rounded corners!</p>
</body>
</html>