Skip to content

Design2 min read

How to Disable Resizing for a Textarea in Webflow

Learn how to disable or control resizing on a Webflow textarea with CSS, and how to build an auto-expanding textarea.

In this tutorial, Sandro, cofounder of Gemeos Webflow agency, shows you how to disable or control textarea resizing in Webflow.

Example

Type some text to see the textarea grow automatically

CSS valueBehaviorUse case
resize: noneNo resizingForm with strict design
resize: verticalVertical resizing onlyStandard textarea
resize: horizontalHorizontal resizing onlyRare
resize: bothBoth directions (default)Native behavior

This is the simplest solution. Add this CSS in a global embed or in your Webflow styles via an embed on the page.

textarea {
  resize: none;
}

/* Or target a specific class: */
.my-textarea {
  resize: vertical;
  min-height: 120px;
  max-height: 300px;
}

Auto-expanding textarea

For a textarea that grows automatically with the content (without a visible scrollbar):

document.querySelectorAll('textarea').forEach(function(ta) {
  ta.style.resize = 'none';
  ta.style.overflow = 'hidden';
  function autoResize() {
    ta.style.height = 'auto';
    ta.style.height = ta.scrollHeight + 'px';
  }
  ta.addEventListener('input', autoResize);
  autoResize();
});

Conclusion

resize: none is the fastest CSS solution to apply. The auto-expanding script improves the UX even more.

Published on May 19, 2026

Sandro DA SILVA

Growth Marketer, Webflow expert, and jack-of-all-trades. Sandro handles commercial operations, ensures projects run smoothly, and addresses marketing-related issues (SEO, Tracking, Copywriting, etc).

You're going to working with us, guaranteed

Ready to launch your business?

get a quote

Let’s f*****G GO !!