Answer the question
In order to leave comments, you need to log in
Bootstrap card desk how to line them up horizontally?
Hello, sorry for the possibly stupid question, but still ...
I'm trying to line up the card desk horizontally, but for some reason the browser lines them up vertically
<div class="container">
<div class="col-md-12">
<div class="card-deck-wrapper">
<div class="card-deck">
<div class="card">
<img class="card-img-top" src="/images/d_c.jpg" alt="Card image cap">
<div class="card-block">
<h4 class="card-title">Card title</h4>
<p class="card-text">This is a longer card with supporting text below as a natural lead-in to
additional content. This content is a little bit longer.</p>
<p class="card-text">
<small class="text-muted">Last updated 3 mins ago</small>
</p>
</div>
</div>
<div class="card">
<img class="card-img-top" src="/images/d_c.jpg" alt="Card image cap">
<div class="card-block">
<h4 class="card-title">Card title</h4>
<p class="card-text">This is a longer card with supporting text below as a natural lead-in to
additional content. This content is a little bit longer.</p>
<p class="card-text">
<small class="text-muted">Last updated 3 mins ago</small>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question