CSS border-radius property

CSSWeb DevelopmentFront End Technology

Use the border-radius property to set four border-radius property. You can try to run the following code to implement border-radius property −

Example

Live Demo

<html>
   <head>
      <style>
         #rcorner {
            border-radius: 25px;
            background: #8AC007;
            padding: 20px;
            width: 200px;
            height: 150px;
         }
      </style>
   </head>
   <body>
      <p id="rcorner">Rounded corners!</p>
   </body>
</html>
raja
Published on 27-Apr-2018 15:55:27
Advertisements