Width
Control element width with percentage and auto utilities.Width Properties
.w-full | 100% | width: 100%; | Full width |
.w-auto | Auto | width: auto; | Auto width |
.w-1-2 | 50% | width: 50%; | Half width |
.w-1-3 | 33.333% | width: 33.333%; | One third |
.w-2-3 | 66.666% | width: 66.666%; | Two thirds |
.w-1-4 | 25% | width: 25%; | Quarter width |
.w-3-4 | 75% | width: 75%; | Three quarters |
Max Width
Control maximum width with responsive breakpoints.Max Width Properties
.max-w-sm | 400px | max-width: 400px; | Small max width |
.max-w-md | 600px | max-width: 600px; | Medium max width |
.max-w-lg | 800px | max-width: 800px; | Large max width |
.max-w-xl | 1000px | max-width: 1000px; | Extra large max width |
.max-w-2xl | 1200px | max-width: 1200px; | 2x large max width |
.max-w-full | 100% | max-width: 100%; | Full max width |
Height
Control element height with viewport and percentage units.Height Properties
.h-full | 100% | height: 100%; | Full height |
.h-auto | Auto | height: auto; | Auto height |
.h-screen | 100vh | height: 100vh; | Full viewport height |
Min Height
Control minimum height for content areas.Min Height Properties
.min-h-screen | 100vh | min-height: 100vh; | Full viewport height |
.min-h-full | 100% | min-height: 100%; | Full height |

