VOOZH about

URL: https://www.geeksforgeeks.org/css/tailwind-css-resize/

⇱ Tailwind CSS Resize - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Tailwind CSS Resize

Last Updated : 23 Jul, 2025

This class accepts lots of value in tailwind CSS in which all the properties are covered as a class form. This class is used to resize the element according to user requirements. It does not apply to inline elements or to block elements where overflow is visible. In CSS, we do that by using the CSS resize property

Resize

  • resize-none: This class is to prevent an element from being resizable.
  • resize-y: This class is to make an element vertically resizable.
  • resize-x: This class is to make an element horizontally resizable.
  • resize: This class is to make an element horizontally and vertically resizable.

Syntax:

<element class="pointer-{axis-boolean}">...</element>

Example:

Output:

Comment