.
Trying to create a background for a heading tag like the image above. Anyone know how?
Tried using clip path, and svg path but didn’t get it right. Would appreciate if anyone could shed some light on this. Thanks!
/* First try*/
.splash {
background-color: #f5e2d1;
clip-path: ellipse(75% 23% at 53% 30%);
padding: 10px;
}
/* Second try, didn't quite understand this one and tried playing with the numbers but didn't get the shape i want */
.splash {
background-color: #f5e2d1;
clip-path: path('M50 0 C20 20, 20 70, 50 50, 80 70, 80 20, 50 0 Z');
padding: 10px;
}
<div class="splash">
<h3 lass="clipped">Education</h3>
</div>
2
Answers
Will this meet your needs
You can play with these
to shape as you like it better
@CheepSheep, Looking at what you attempted, Heres something more for you…