ใช้คุณสมบัติ 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>