我有一個大<div>
與3個較小的<div>
裏面。 我想把3個小<div>
之間的空間沒有定義的大<div>
的大小或把margin-top
到每個小<div>
。如何把div之間的空間放在更大的div中?
這裏是我的CSS:
table
{
border-radius: 10px;
border-collapse: collapse;
background: white;
}
.div_tableaux
{
border: 10px solid red;
display: flex;
justify-content: space-arround;
align-items: center;
flex-direction: column;
margin-top: 10%;
padding: 30px;
}
你知道該怎麼做,在CSS?
Red = Big div;藍色=小格
一些代碼將有助於 – Edwin
我不能告訴你任何事情,因爲它的私人信息和它的結果很重要。您可能需要顯示一個圖像 – TheTinyCat
[MVCE](https://stackoverflow.com/help/mcve) – dippas