theprogrammer theprogrammer - 1 year ago 488
HTML Question

bootstrap cards not showing like in examples

why does my bootstrap cards look weird? in the examples they look like cards with border and white padding but mine looks text only without the padding and the white thing that surrounds it. for exampleenter image description here

i don't know if the code will help you but here it is.

<div class="row">
<div class="col-md-3">
<div class="card">
<img class="card-img-top" src="" alt="Card image cap">
<div class="card-block">
<h4 class="card-title">This is Card #1</h4>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="" class="btn btn-primary">Learn More</a>


text-align: middle;


Answer Source

It shows up fine by me. You have to make sure that you are linking the version 4 style sheet.

<link rel="stylesheet" href="" integrity="sha384-y3tfxAZXuh4HwSYylfB+J125MxIs6mR5FOHamPBG064zB+AFeWH94NdvaCBm8qnd" crossorigin="anonymous">
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download