Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Example of CSS resize property</title> <style> textarea { resize: none; } div { resize: both; overflow: auto; width: 300px; height: 100px; border: 1px solid #000000; } </style> </head> <body> <h2>Non-resizable textarea</h2> <form> <textarea>The resizability of this textarea is disabled.</textarea> </form> <h2>Resizable div</h2> <div>You can resize this div by dragging the bottom right corner.</div> <p><strong>Note:</strong>The resize property is only supported by the Firefox 4+, Chrome and Safari.</p> </body> </html>