is now part of Shuffle™. You can use the editor on this domain, but we encourage you to try Shuffle →. Shuffle™ includes templates for Tailwind CSS, Bootstrap, Bulma, and Material-UI.
← Tailwind CSS classes list

Tailwind CSS class: .px-2

<span class="px-2 inline-block bg-teal-400">Item</span>

Preview

Item

Check .px-2 in a real project

Click one of the examples listed below to open the Shuffle Visual Editor with the UI library that uses the selected component.

CSS source

.px-2 { padding-right: 0.5rem; padding-left: 0.5rem; }

More in Tailwind CSS Paddings