I’m trying to add a wave graphic to the bottom of my Bootstrap card, but it’s not working correctly.
Hers is an image of what I need:
Here is my current code:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous">
<div class="container">
<div class="card" style="background: #f0f6ff">
<div class="card-body">
<div class="box">
<div class="row">
<div class="col-lg-6 align-self-center">
<div class="heading-title-2 text-left">
<p>Title Here</p>
<h3 class="iq-tw-6">Lorem Ipsum is simply dummy text of the </h3>
<p class="">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,</p>
</div>
</div>
<div class="col-lg-6 align-self-center r-mt-40">
</div>
</div>
</div>
</div>
</div>
</div>
2
Answers
I think the best option is to use svg, you can find some wave generator, to achive your goal easily, i was using this generator. Also I am adding some extra css to your code to look more like the picture.
You can generate a new wave if you want, or you can play with the values if you are familiar with svg
First create an SVG of your preferred wave shape. I won’t advertise any specific app/service, but there are lots of free SVG online generators and offline editors.
Here I’ve created one resembling your reference image:
Put the SVG after the
.card-body
but still inside the.card
: