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

การกำหนดขอบมุมขวาล่างด้วย CSS


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

ตัวอย่าง

<html>    <head>       <style>          #rcorner {             border-radius: 25px;             border-bottom-right-radius: 90px;             background: #F5CBA7;             padding: 20px;             width: 400px;             height: 300px;          }       </style>    </head>    <body>       <p id = "rcorner">Rounded border bottom corner!</p>    </body> </html>