Hi, I'm wanting to apply rounded borders with gradients to a box but I can not do it, although the gradient applies the edges, I would like them to be like the example I attached
.box {
border: 2px solid green;
border-image-source: linear-gradient(#a42e6e, #783057);
border-image-slice: 20;
padding: 2em;
-webkit-border-radius: 30px;
-moz-border-radius: 30px;
border-radius: 30px;
}
<div class="box">
<h4 class="titulo-degradado-1">
174
</h4>
<p>Atención al vecino</p>
</div>