CSS & Frontend

Utility Class

/juːˈtɪlɪti klɑːs/

Definition

A single-purpose CSS class that applies one specific style (e.g. text-center, mt-4), used extensively in Tailwind CSS.

Example in context

"Tailwind's utility classes mean you rarely leave the HTML — flex justify-center items-center replaces custom CSS."

Practice this term

Master Utility Class in context by working through exercises in the CSS & Frontend module. You'll see the term used in real engineering scenarios with multiple-choice, fill-in-the-blank, and matching drills.