Disable Textarea Resizable Property using CSS

In this tutorial we will see how to Disable Textarea Resizable Property using CSS. CSS resize:none property is used for this which disables the resizing of textarea.

HTML Code

Simple HTML Code is given below, In this code we have textarea html element and we will see how to disable it's resizable property using simple CSS.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Disable Textarea Resizable Property using CSS</title>
</head>
<body>
    <textarea rows="15" cols="100"></textarea>
</body>
</html>

CSS Code

CSS code is given below, In this code CSS resize property is used. The CSS resize property makes an element resizable and it can also disable it's resizing property.

The resize property only applies to inline and block level elements when overflow property is set to either auto, hidden or scroll.

The resize property wont work if overflow property is set to 'visible'. Take a look at the simple line of CSS code, used to disable resizing of textarea tag.

textarea {
resize: none;
}

Demo

Video Tutorial

Watch video tutorial on Disable Textarea Resizable Property using CSS.

Social Media Menu with Popup Tooltip using HTML and CSS Horizontal Navigation Menu with HTML and CSS Responsive Sidebar Menu with CSS and JavaScript Cool CSS Button with Hover Animation Pure CSS Custom Radio Buttons Custom Emoji Radio Buttons with CSS Color Picker Design with HTML CSS and JavaScript Custom Radio Buttons with CSS Engraved HTML Buttons With CSS Neumorphic Buttons Design with CSS Cool Profile Card Design with HTML CSS Neumorphic Search Bar Design with HTML and CSS Simple Login Form with Placeholder Animation Pure CSS Button with Folded Corner Background Color Change Slider with HTML CSS and JavaScript 404 Page Not Found Template Design with HTML and CSS Movies Blog Card Design with HTML and CSS Simple CSS Border Animation with before and after Selector Custom Social Select Dropdown Menu with CSS and JavaScript Facebook Offline and Online Notification with CSS and JS New Year 2022 Text Animation with CSS and JS Change Placeholder Color using CSS Custom Select Tag DropDown with CSS and JavaScript Simple Price Range Slider With HTML CSS and JavaScript Profile Card With Hover Effect using HTML and CSS Circle With Two Colors using CSS Simple FAQ Accordion With HTML CSS and JavaScript