使用 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 次浏览

开启你的 职业生涯

完成课程获得认证

开始
广告