Using Tailwind Arbitrary Values for Responsive Styling Without Config Changes
Tailwind's arbitrary value syntax lets you inject custom colors, spacing, and sizes directly in markup, enabling responsive designs without config changes.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Tailwind's arbitrary value syntax lets you inject custom colors, spacing, and sizes directly in markup, enabling responsive designs without config changes.
Use Tailwind arbitrary values to apply one-off sizes like top-[117px] without editing tailwind.config.js. Learn how JIT generates them on demand, when to use CSS variables, and the trade-offs of overuse.
Stop managing massive CSS files and fragile purge configurations. Learn how Tailwind CSS JIT mode generates styles on-demand and enables arbitrary values for a leaner production build.