card syntax html

.card {
  /* Add shadows to create the "card" effect */
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);

transition: 0.3s;

/* On mouse-over, add a deeper shadow */
.card:hover {
0 8px 16px 0 rgba(0,0,0,0.2);

/* Add some padding inside the card container */
.container {

padding: 2px 16px;
} <div class="card"> <!--Start a div-->
  <img src="..." class="card-img-top" alt="..."> <!--add source and class-->
  <div class="card-body"> <!-- Keep class names relative to what you are doing-->
    <h5 class="card-title">Card title</h5>
    <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">Go somewhere</a> <!-- Add link
 with href and put text for button in-->
</div> <!--Be sure to close both div-->