bootstrapでコンテンツの垂直方向の調整をbottom にしようとしていますが、うまく表示されません。
<div class="row"> <div class="col-lg-8 col-md-8 col-sm-8 hidden-xs dtable"> <h2 class="pad dec bottom">情報</h2> </div> <div class="col-lg-4 col-md-4 col-sm-4 hidden-xs"> <img src="/image/photo.jpg" class="img-responsive img-circle" /> </div> </div>
「情報」というテキストを左寄寄せのbottom で表示したいのですが、
上手くいきません。
CSSは
.dtable{ display: table; } .bottom{ display: table-cell; vertical-align: bottom; }
どこがおかしいでしょうか?
ご教授頂けると嬉しいです。
宜しくお願いいたします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。