Card Component
The card component is a container for content. It can be used to display content in a card.
Title card component
Subtitle card component
I'm a content of card
<div class="col-s-2 col-3 card"> <h2>Title card component</h2> <h3>Subtitle card component</h3> <div class="body">I'm a content of card</div> <img src="picture.jpg" alt="" srcset=""> <hr> <button class="btn-text">BUTTON</button> </div>
Usage
The card component, is used with the card CSS class. h2 tag is required for title, but the h3, permit used a subtitle. body CSS class is required for content. hr tag, is used to separate the content.