Try like this:
<script src="https://cdn.tailwindcss.com"></script> <div class="flex items-center justify-center border border-dashed"> <div class="flex-1"></div> <div class="w-32 h-32 bg-red-500"></div> <div class="flex-1"> <div class="w-20 h-20 bg-green-500 ml-auto"></div> </div> </div>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.