Skip to content

Instantly share code, notes, and snippets.

@estebanmunchjones2019
Created June 10, 2021 10:32
Show Gist options
  • Save estebanmunchjones2019/c8f1c880ec7ccb930699b49eaf482c5c to your computer and use it in GitHub Desktop.
Save estebanmunchjones2019/c8f1c880ec7ccb930699b49eaf482c5c to your computer and use it in GitHub Desktop.
//Example of a card image with <img>
<div className="card" style={{width: "18rem"}}>
<img src="/assets/images/unsplash-1.jpeg" class="card-img-top" alt="..." />
<div className="card-body">
<h5 className="card-title">Card title</h5>
<p className="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>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment