垂直放置四個格子,但它們之間有空間。我可以如何填充它們之間的空間。我無法找到填補空白的方法。任何人都可以幫忙這個。如何填充垂直格子之間的空間
<div class="pageTwo">
<h1 class="text-center" style="font-family: 'Julius Sans One', sans-serif;margin-top:100px !important;">Works</h1>
<div class="block-works">
<p class="work">We at Good <span class="letter-T">T</span>ree production watch movies at full time. Watching movies at 24 X 7 is our duty and reviewing them is our homework. </p>
</div>
</div>
<div class="pageThree">
<h1 class="text-center" style="font-family: 'Julius Sans One', sans-serif;margin-top:100px !important;">About Us</h1>
<div class="block-about-us">
<p class="work">We at Good <span class="letter-T">T</span>ree production are two bunch of gladiators worshipping movies.</p>
</div>
</div>
<div class="pageFour">
<h1 class="text-center" style="font-family: 'Julius Sans One', sans-serif;margin-top:50px">Contact Us</h1>
<div class="block-contact-us text-center">
<p class="work">
Like us on </br>
<a>
<span class="fa fa-facebook-official" style="font-size: 40px;text-align: center;"></span>
</a>
</p></br>
<p class="work" style="">
Follow us on </br>
<a>
<span class="fa fa-twitter" style="font-size: 40px;text-align: center;"></span>
</a>
</p>
</div>
</div>
CSS:
.pageOne{
background-size:cover;
background-color:#DCF5F4;
height: 60%;
}
.pageTwo{
background-color: rgb(185, 196, 234);
background-size:cover;
height:80%;
width: 100%;
margin-top:-3.7%;
}
.pageThree{
background-color: #F3A0A0;
background-size:cover;
height:60%;
}
.pageFour{
background-color:#B8F2DF;
background-size:cover;
height:80%;
}
任何能幫助我在這 由於提前
我會去問心無愧這一點 - 當涉及到垂直間距Flexbox的是最可靠的! –