CSS border-top-right-radius property

CSSWeb DevelopmentFront End Technology

Use the border-top-right radius property in CSS to set the top right radius border. You can try to run the following code to implement border-top-right-radius property −

Example

Live Demo

<html>
   <head>

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

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

</html>
raja
Published on 27-Apr-2018 16:10:16
Advertisements