Is there a way to achieve a background gradient like the one in the image? I attempted to create it using a radial gradient, but my result appears circular. Would using an image be a better approach? https://i.sstatic.net/lccSX.png
How can I create a clear border similar to the picture?
.block {
padding: 15px;
width: 1000px;
border-radius: 6px;
font-size: 1.8rem;
line-height: 2.8rem;
height: 12.4rem;
background-color: #F3F5F7;
border-radius: .6rem;
background-image:
radial-gradient(
circle at bottom right,
red,
#ffffff 30%
);
}
<div class="block">
<div>some text</div>
</div>