Answers for "how to set a background image for an image card in bootstrap 5"

C#
0

row background image bootstrap 5

<!-- Background image -->
<div class="bg-image"
style="background-image: url('https://mdbcdn.b-cdn.net/img/Photos/Others/images/76.jpg');
      height: 100vh">
</div>
<!-- Background image -->
Posted by: Guest on August-04-2021
16

bootstrap background image for card

<div class="card" style="width: 18rem;">
  <img class="card-img-top" src="..." alt="Card image cap">
  <div class="card-body">
    <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>
  </div>
</div>
Posted by: Guest on May-20-2020

Code answers related to "how to set a background image for an image card in bootstrap 5"

C# Answers by Framework

Browse Popular Code Answers by Language