5
I would make a div
with fixed size, leaving the backgound
linear gradient:
HTML
<div class="linha"></div>
CSS
.linha {
margin: 10px 0;
height: 2px;
background: black;
background: -webkit-gradient(linear, 0 0, 100% 0, from(white), to(white), color-stop(50%, black));
}
Example:
.linha {
margin: 10px 0;
height: 2px;
background: black;
background: -webkit-gradient(linear, 0 0, 100% 0, from(white), to(white), color-stop(50%, black));
}
<div class="linha"></div>
You mean that line with the fine tips, a little degrade?
– BrTkCa
Yes, at the little thin ends fading slowly, and in the middle at the normal thickness
– Leo Letto