is now part of Shuffle™. The new editor includes templates for Bootstrap, Bulma, Material-UI, and Tailwind CSS.
Switch to Shuffle →

Bootstrap class: .translate-middle

    <div class="position-relative bg-secondary" style="width: 250px; height: 100px;">
        <div class="position-absolute top-0 start-0 translate-middle bg-primary p-4"></div>
        <div class="position-absolute bottom-0 end-0 translate-middle bg-info p-4"></div>


Check .translate-middle 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.

Tips 💡

More in Bootstrap Positioning