使用 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>

更新時間: 2020 年 6 月 25 日

231 次瀏覽

開啟你的 職業生涯

完成課程認證

開始學習
廣告
© . All rights reserved.