CSS border-top-left-radius属性

使用border-top-left-radius属性设置左上角的边框。您可以尝试运行以下代码以实现border-left-radius属性-

示例

<html>
   <head>

      <style>
         #rcorner {
            border-radius: 25px;
            border-top-left-radius: 45px;
            background: green;
            padding: 20px;
            width: 200px;
            height: 150px;
         }
      </style>

   </head>
   <body>
      <p id="rcorner">Rounded corners!</p>
   </body>
</html>