Check out example codes for "card syntax html". It will help you in understanding the concepts better.
Code Example 1
.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 {
box-shadow:
0 8px 16px 0 rgba(0,0,0,0.2);
}
/* Add some padding inside the card container */
.container {
padding: 2px 16px;
}
Code Example 2
<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>
</div> <!--Be sure to close both div-->
Learn ReactJs, React Native from akashmittal.com