Tailwind CSS Classes

Tailwind CSS class .-my-px

    <div class="bg-gray-300 mx-auto h-20 w-40">
        <div class="-my-px p-6 w-2/3 mx-auto h-full bg-teal-400 text-sm"></div>
    </div>

Preview

Check .-my-px 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.

More Tailwind CSS classes in Positioning category

© 2024 Shuffle. All rights reserved.