使用 CSS 设置右下角边框

cssweb developmentfront end technology更新于 2024/9/20 20:28:17

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

相关文章


有用资源