Landings

Tailwind CSS

Width

Utilities for setting the width of an element.

ClassProperties
w-0width: 0px;
w-pxwidth: 1px;
w-0.5width: 0.125rem; /* 2px */
w-1width: 0.25rem; /* 4px */
w-1.5width: 0.375rem; /* 6px */
w-2width: 0.5rem; /* 8px */
w-2.5width: 0.625rem; /* 10px */
w-3width: 0.75rem; /* 12px */
w-3.5width: 0.875rem; /* 14px */
w-4width: 1rem; /* 16px */
w-5width: 1.25rem; /* 20px */
w-6width: 1.5rem; /* 24px */
w-7width: 1.75rem; /* 28px */
w-8width: 2rem; /* 32px */
w-9width: 2.25rem; /* 36px */
w-10width: 2.5rem; /* 40px */
w-11width: 2.75rem; /* 44px */
w-12width: 3rem; /* 48px */
w-14width: 3.5rem; /* 56px */
w-16width: 4rem; /* 64px */
w-20width: 5rem; /* 80px */
w-24width: 6rem; /* 96px */
w-28width: 7rem; /* 112px */
w-32width: 8rem; /* 128px */
w-36width: 9rem; /* 144px */
w-40width: 10rem; /* 160px */
w-44width: 11rem; /* 176px */
w-48width: 12rem; /* 192px */
w-52width: 13rem; /* 208px */
w-56width: 14rem; /* 224px */
w-60width: 15rem; /* 240px */
w-64width: 16rem; /* 256px */
w-72width: 18rem; /* 288px */
w-80width: 20rem; /* 320px */
w-96width: 24rem; /* 384px */
w-autowidth: auto;
w-1/2width: 50%;
w-1/3width: 33.333333%;
w-2/3width: 66.666667%;
w-1/4width: 25%;
w-2/4width: 50%;
w-3/4width: 75%;
w-1/5width: 20%;
w-2/5width: 40%;
w-3/5width: 60%;
w-4/5width: 80%;
w-1/6width: 16.666667%;
w-2/6width: 33.333333%;
w-3/6width: 50%;
w-4/6width: 66.666667%;
w-5/6width: 83.333333%;
w-1/12width: 8.333333%;
w-2/12width: 16.666667%;
w-3/12width: 25%;
w-4/12width: 33.333333%;
w-5/12width: 41.666667%;
w-6/12width: 50%;
w-7/12width: 58.333333%;
w-8/12width: 66.666667%;
w-9/12width: 75%;
w-10/12width: 83.333333%;
w-11/12width: 91.666667%;
w-fullwidth: 100%;
w-screenwidth: 100vw;
w-svwwidth: 100svw;
w-lvwwidth: 100lvw;
w-dvwwidth: 100dvw;
w-minwidth: min-content;
w-maxwidth: max-content;
w-fitwidth: fit-content;