Prevent Resizable Textarea with CSS

💡CSS Tip💡 Whenever, we use the textarea input tag like this: <textarea rows="5" cols="30"></textarea> by default, the browser makes it a resizable area so you can make it smaller or larger by just dragging it. But generally, we don't want the user to resize the textarea. In that case, you can apply resize: none CSS property for that textarea. This will not allow the user to resize that textarea. 𝗖𝗵𝗲𝗰𝗸 𝗼𝘂𝘁 𝘁𝗵𝗲 𝗖𝗼𝗱𝗲𝗣𝗲𝗻 𝗱𝗲𝗺𝗼 𝗹𝗶𝗻𝗸 𝗶𝗻 𝘁𝗵𝗲 𝗰𝗼𝗺𝗺𝗲𝗻𝘁 𝘁𝗼 𝘀𝗲𝗲 𝗶𝘁 𝗶𝗻 𝗮𝗰𝘁𝗶𝗼𝗻. #html #javascript #reactjs #webdevelopment

  • No alternative text description for this image

To view or add a comment, sign in

Explore content categories