pb-* — single-side padding for bottom edges. This family contains 35 generated classes in Nakshora 3.1.

Classes#

ClassGenerated CSS
pb-0padding-bottom: 0px;
pb-1padding-bottom: 0.25rem;
pb-2padding-bottom: 0.5rem;
pb-3padding-bottom: 0.75rem;
pb-4padding-bottom: 1rem;
pb-5padding-bottom: 1.25rem;
pb-6padding-bottom: 1.5rem;
pb-7padding-bottom: 1.75rem;
pb-8padding-bottom: 2rem;
pb-9padding-bottom: 2.25rem;
pb-10padding-bottom: 2.5rem;
pb-11padding-bottom: 2.75rem;
pb-12padding-bottom: 3rem;
pb-14padding-bottom: 3.5rem;
pb-16padding-bottom: 4rem;
pb-20padding-bottom: 5rem;
pb-24padding-bottom: 6rem;
pb-28padding-bottom: 7rem;
pb-32padding-bottom: 8rem;
pb-36padding-bottom: 9rem;
pb-40padding-bottom: 10rem;
pb-44padding-bottom: 11rem;
pb-48padding-bottom: 12rem;
pb-52padding-bottom: 13rem;
pb-56padding-bottom: 14rem;
pb-60padding-bottom: 15rem;
pb-64padding-bottom: 16rem;
pb-72padding-bottom: 18rem;
pb-80padding-bottom: 20rem;
pb-96padding-bottom: 24rem;
pb-pxpadding-bottom: 1px;
pb-0.5padding-bottom: 0.125rem;
pb-1.5padding-bottom: 0.375rem;
pb-2.5padding-bottom: 0.625rem;
pb-3.5padding-bottom: 0.875rem;

Example#

example
html
<h2 class="pb-2 border-b">Section title</h2>

Responsive & variants#

Every class here accepts screen prefixes (xxs:5xl:) and state variants — md:hover:p-4 style stacks compile to a single media query. See responsive/index|Responsive design and variants/index|Variants.

Best practices#

  • pb-2 + border-b = classic underlined heading

utilities/spacing/spacing-scale|Spacing scale · utilities/sizing/width|Width · comparisons/margin-vs-padding|Margin vs padding