CSS3 Resize Property

CSSWeb DevelopmentFront End Technology

The CSS3 resize property is having three common values as shown below −

  • horizontal
  • vertical
  • both

Example

Using both the values in resize property in the CSS3 user interface:

Live Demo

<html>
   <head>
      <style>
         div {
            border: 2px solid;
            padding: 20px;
            width: 300px;
            resize: both;
            overflow: auto;
         }
      </style>
   </head>
   <body>
      <div>My Website</div>
   </body>
</html>
raja
Published on 02-May-2018 07:31:45
Advertisements