私はBootstrap 4 Alphaを使用するアプリケーションを開発中です。私はcardsを作成しようとしています。私はthis siteのコースカードのようなものを再現しようとしています。しかし、私はデフォルトのブートストラップスタイリングを使用しようとしています。私はこのhereを再作成して実験してきたブートストラップ - カードのカスタマイズ
+------------------------------------------------------------+
| [icon] 04.07.2016 |
+------------------------------------------------------------+
| intro |
| heading |
| a description that takes a couple of lines. It may |
| have two or three lines of text and they'll wrap |
| like this. |
| |
| [tag 1] [tag 2] |
+------------------------------------------------------------+
:つまり、私はこのようになりますカードを作成しようとしています。日付はアイコンと同じ行にありません。私のコードは次のようになります:
<br>
<div class="container">
<div class="card">
<div class="card-header">
<i class="fa fa-circle"></i>
<div class="text-xs-right">04.07.2016</div>
</div>
<div class="card-block">
<div class="text-muted">intro</div>
<h4 class="card-title">Heading</h4>
<p class="card-text"> a description that takes a couple of lines. It may have two or three lines of text and they'll wrap like this.</p>
<ul class="list-inline text-muted">
<li class="list-inline-item"><i class="fa fa-tag"></i> tag 1</li>
<li class="list-inline-item"><i class="fa fa-tag"></i> tag 2</li>
</ul>
</div>
</div>
</div>
私は間違っていますか?
「プル右」のものはすべて、ブートストラップ4では廃止されていると思っていましたか?あるいは、反応した修飾語が追加されただけですか? –
アルファになっているので、状況は変わるかもしれませんが、現在のところ 'pull- *'はまだ存在します:http://v4-alpha.getbootstrap.com/components/utilities/#responsive-floats – ZimSystem
クール。共有してくれてありがとう。私はこれに私の頭を近づけて殴っていた:)。 –