Bootstrap class: .position-relative

    <div class="position-relative bg-secondary" style="width: 250px; height: 150px;">
        <div class="position-absolute top-0 start-0 p-2 bg-info">top-0 start-0</div>
    </div>

Preview

top-0 start-0

Check .position-relative 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