[Vuejs]-Using positioning and margins on Flexboxes?

0👍

Wrap it in a parent div and make the parent div position absolute then position that.

<div class="absolute">
    <div class="flex justify-center">
        <div class="h-px-500 md:w-1/6 bg-orange-200 text-center">1</div>
        <div class="h-px-500 md:w-1/6 bg-orange-300 text-center">2</div>
        <div class="h-px-500 md:w-1/6 bg-orange-400 text-center">3</div>
    </div>
</div>

Leave a comment