P粉4028061752023-08-03 00:51:32
我不確定我是否完全理解您的問題,但這是我認為的解決方案:
<div class="w-fit flex flex-col"> <div class="flex-initial w-56 bg-blue-500 p-4"> <!-- The first child --> <!-- Content of the first child --> </div> <div class="bg-red-500 p-4"> <!-- All the rest components wrap around it --> <!-- Content of the rest components --> </div> </div>