Tailwind utilities follow a predictable naming pattern based on CSS properties:
Common examples:
p-4
(padding: 1rem), px-2
(horizontal padding: 0.5rem)m-8
(margin: 2rem), mt-4
(margin-top: 1rem)bg-blue-500
(background), text-red-600
(color)flex
, block
, hidden
, inline-block
w-64
(width: 16rem), h-screen
(height: 100vh)The pattern is usually: [property]-[value]
or [property][direction]-[value]