Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> การเขียนโปรแกรม >> CSS

คุณสมบัติ CSS border-bottom-right-radius มุมขวาล่าง


ใช้คุณสมบัติ border-bottom-right-radius สำหรับตั้งค่าเส้นขอบของมุมขวาล่าง คุณสามารถลองรันโค้ดต่อไปนี้เพื่อนำคุณสมบัติ border-bottom-right-radius ไปใช้:

ตัวอย่าง

<html>    <head>       <style>          #rcorner {             border-radius: 25px;             border-bottom-right-radius: 45px;             background: orange;             padding: 20px;             width: 200px;             height: 150px;          }       </style>    </head>    <body>       <p id="rcorner">Rounded corners!</p>    </body> </html>.