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:
<html>
<head>
<style>
div {
border: 2px solid;
padding: 20px;
width: 300px;
resize: both;
overflow: auto;
}
</style>
</head>
<body>
<div>My Website</div>
</body>
</html>