Can you create a vibrant line with a dot underneath text using CSS, similar to the example shown in the image?
The underline should begin with some spacing or padding.
.underline {
text-decoration: underline;
text-underline-offset: 10px;
display: inline-block;
position: relative;
padding: 20px 0px;
color: #2af6ff;
}
.underline::before {
transform: translateX(-50%);
border-radius: 100%;
position: absolute;
background: #2af6ff;
bottom: 10px;
height: 10px;
content: '';
width: 10px;
left: 100%;
}
<div class="h3 fw-bolder mt-4 px-5"><span class="underline">Summary</span></div>