私はこのようなボックスを持っている:私はこのようなvertical-align
を使用してみましたがCSSの垂直方向と水平方向の両方の揃え方は?
:
.notes-list-box > div {
vertical-align: top;
}
スタイリングを少し追加
<section class="notes-list-box">
<div class="nn">
<div class="heading">Notes</div>
<div class="boxdescription">With our complete study notes, your homework is much easier.</div>
</div>
<div class="ttn">
<div class="heading">Things To Know</div>
<div class="boxdescription">Things to know provides additional information on every topic which enhance the knowledge of the students.</div>
</div>
<div class="vdos">
<div class="heading">Videos</div>
<div class="boxdescription">Reference videos on each topic provides experimental ideas and develops interactive learning technique.</div>
</div>
<div class="sqaa">
<div class="heading">Solved Question and Answer</div>
<div class="boxdescription">With 100's of solved questions solved, now you can easily prepare your exam for free.</div>
</div>
</section>
が、それはこのように見えるように
と動作します。しかし、私はどのようにalign vertical at bottom
にすべての空白も下に来るように分からない。
したがって、メモの下の空白と解決された質問と回答white background
が下から来ます。
私は空白で、これらのギャップを埋めるためにしたい:
私はそれがOPが望んだ結果だとは思わない。 IMHO列の高さはできるだけ低くする必要があります。 –
はい、可能な限り身長が低くなければなりません。 – stlawrance