使用 CSS 設定左下角邊框


使用 border-bottom-left-radius 屬性設定左下角邊框。你可以嘗試執行以下程式碼來實現 border-bottom-left-radius 屬性

示例

現場演示

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

更新時間:25-6 月 -2020

495 次瀏覽

開啟你的 職業生涯

完成課程獲得認證

開始
廣告
© . All rights reserved.