Bootstrap cards not showing like in examples

flex_ picture flex_ · Jun 20, 2016 · Viewed 65.9k times · Source

Why do my Bootstrap cards look weird? In the examples they look like cards with a border and white padding but mine look like text only without the padding and the white background.

For example:

Bootstrap card rendering example

I don't know if the code will help you but here it is:

Answer

Rachel S picture Rachel S · Jun 20, 2016

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

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.2/css/bootstrap.min.css" integrity="sha384-y3tfxAZXuh4HwSYylfB+J125MxIs6mR5FOHamPBG064zB+AFeWH94NdvaCBm8qnd" crossorigin="anonymous">