Cards
A card in Bootstrap 4 is a bordered box with some padding around its content. It includes options for headers, footers, content, colors, etc.
- If the first card is a Wild Draw Four card – Return it to the Draw Pile, shuffle the deck, and turn over a new card. At any time during the game, if the Draw Pile becomes depleted and no one has yet won the round, take the Discard Pile, shuffle it, and turn it over to regenerate a new Draw Pile.
- Four Card Poker Introduction. Four Poker is a new poker variation invented by Roger Snow and marketed by Shufflemaster. The game is similar to Three Card Poker but as the title suggests, four cards are used instead of three. Also, there is no dealer qualifying hand and the player can raise up to three times his ante.
Enjoy a streaming bonus 4 on us! Your binge watching and music streaming will be rewarded when you use the Altitude Go card. You’ll earn 2X points 3 on your streaming services. Plus, you'll receive a $15 streaming service credit after 11 months of streaming service purchases.
John Doe
Some example text some example text. John Doe is an architect and engineer
See ProfileBasic Card
A basic card is created with the .card
class, and content inside the card has a .card-body
class:
Example
<div>Basic card</div>
</div>
If you are familiar with Bootstrap 3, cards replace old panels, wells, and thumbnails.
Header and Footer
The .card-header
class adds a heading to the card and the .card-footer
class adds a footer to the card:
Example
<div>Header</div>
<div>Content</div>
<div>Footer</div>
</div>
Contextual Cards
To add a background color the card, use contextual classes (.bg-primary
, .bg-success
, .bg-info
, .bg-warning
, .bg-danger
, .bg-secondary
, .bg-dark
and .bg-light
.
Example
Titles, text, and links
Card title
Some example text. Some example text.
Card linkAnother linkUse .card-title
to add card titles to any heading element. The .card-text
class is used to remove bottom margins for a <p> element if it is the last child (or the only one) inside .card-body
. The .card-link
class adds a blue color to any link, and a hover effect.
Example
<div>
<h4>Card title</h4>
<p>Some example text. Some example text.</p>
<a href='#'>Card link</a>
<a href='#'>Another link</a>
</div>
</div>
Card Images
John Doe
Some example text some example text. John Doe is an architect and engineer
See ProfileJane Doe
Some example text some example text. Jane Doe is an architect and engineer
See ProfileAdd .card-img-top
or .card-img-bottom
to an <img>
to place the image at the top or at the bottom inside the card. Note that we have added the image outside of the .card-body
to span the entire width:
Example
<img src='img_avatar1.png' alt='Card image'>
<div>
<h4>John Doe</h4>
<p>Some example text.</p>
<a href='#'>See Profile</a>
</div>
</div>
Stretched Link
Plus 4 Credit Union Humble
Add the .stretched-link
class to a link inside the card, and it will make the whole card clickable and hoverable (the card will act as a link):
John Doe
Some example text some example text. John Doe is an architect and engineer
See ProfileJane Doe
Ok google slotomania free slots. Some example text some example text. Jane Doe is an architect and engineer
See ProfileExample
Card Image Overlays
John Doe
Some example text some example text. Some example text some example text. Some example text some example text. Some example text some example text.
See ProfileTurn an image into a card background and use .card-img-overlay
to add text on top of the image:
Example
<img src='img_avatar1.png' alt='Card image'>
<div>
<h4>John Doe</h4>
<p>Some example text.</p>
<a href='#'>See Profile</a>
</div>
</div>
Card Columns
The .card-columns
class creates a masonry-like grid of cards (like pinterest). The layout will automatically adjust as you insert more cards.
Note: The cards are displayed vertically on small screens (less than 576px):
Example
<div>
<div>
<p>Some text inside the first card</p>
</div>
</div>
<div>
<div>
<p>Some text inside the second card</p>
</div>
</div>
<div>
<div>
<p>Some text inside the third card</p>
</div>
</div>
<div>
<div>
<p>Some text inside the fourth card</p>
</div>
</div>
<div>
<div>
<p>Some text inside the fifth card</p>
</div>
</div>
<div>
<div>
<p>Some text inside the sixth card</p>
</div>
</div>
</div>
Card Deck
Some text inside the first card
Some more text to increase the height
Some more text to increase the height
Some more text to increase the height
The .card-deck
class creates a grid of cards that are of equal height and width. The layout will automatically adjust as you insert more cards.
Note: The cards are displayed vertically on small screens (less than 576px):
Example
<div>
<div>
<p>Some text inside the first card</p>
</div>
</div>
<div>
<div>
<p>Some text inside the second card</p>
</div>
</div>
<div>
<div>
<p>Some text inside the third card</p>
</div>
</div>
<div>
<div>
<p>Some text inside the fourth card</p>
</div>
</div>
</div>
Card Group
Some text inside the first card
Some more text to increase the height
Some more text to increase the height
Some more text to increase the height
The .card-group
class is similar to .card-deck
. The only difference is that the .card-group
class removes left and right margins between each card.
Note: The cards are displayed vertically on small screens (less than 576px), WITH top and bottom margin:
Example
<div>
<div>
<p>Some text inside the first card</p>
</div>
</div>
<div>
<div>
<p>Some text inside the second card</p>
</div>
</div>
<div>
<div>
<p>Some text inside the third card</p>
</div>
</div>
<div>
<div>
<p>Some text inside the fourth card</p>
</div>
</div>
</div>