Bootstrap4のcardクラスの中で、floatが効きません。なぜ???
再現↓
html
1<div class="card"> 2 <div style="background: blue; float: left; width: 50px;"> 3 s 4 </div> 5 あああああああ 6 <div style="background: red; float:left; width: 80px;"> 7 s 8 </div> 9</div>
class="card"を消すと、floatが有効になる↓
html
1<div> 2 <div style="background: blue; float: left; width: 50px;"> 3 s 4 </div> 5 あああああああ 6 <div style="background: red; float:left; width: 80px;"> 7 s 8 </div> 9</div>
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/05/17 11:30