2
To do with linear-gradient
.linha {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
color: #48958C;
font-size: 2.5rem;
position: relative;
}
.linha::after {
content: '';
position: absolute;
width: 6rem;
height: 0.2rem;
top: 100%;
left: 0.25rem;
background: linear-gradient(to right,#48958C 0%, #48958C 15%, transparent 15%, transparent 30%, #48958C 30%)
}
<p class="linha">Conheça o projeto</p>
Dashed as? By the image you can not understand.
– bfavaretto
You can use
border-style:dashed
, but it won’t look like the image. https://developer.mozilla.org/en-US/docs/Web/CSS/border-style– Valdeir Psr
Why can only be with css? Using two span tags to smoothly play with
border-style
.– Juven_v