xxxxxxxxxx
//change the padding of the main div to change the border
<div class="w-full rounded-md bg-gradient-to-r from-indigo-500 via-red-500 to-purple-500 pb-1">
<div class="flex h-full w-full items-center justify-center bg-white back">
<h1 class="text-2xl font-black">
Your title
</h1>
</div>
</div>
xxxxxxxxxx
<div className="rounded-xl w-52 h-64 mx-auto mt-10 bg-gradient-to-r p-[6px] from-[#6EE7B7] via-[#3B82F6] to-[#9333EA]">
<div className="flex flex-col justify-between h-full bg-white text-white rounded-lg p-4">
</div>
</div>