4
I would like to style an edge for the H1, but in linear gradient, going from color x to color y (or transparency).
I used pseudoclass (after), but with the gradient edge I can’t make it work.
Someone would know to help me?
h1:after {
content:' ';
display:block;
border:2px solid #d0d0d0;
border-radius:4px;
-webkit-border-radius:4px;
-moz-border-radius:4px;
box-shadow:inset 0 1px 1px rgba(0, 0, 0, .05);
-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .05);
-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .05);
}
<h1>Título</h1>
Yes, exactly that! Oh, man, thank you! :)
– Paulo Roberto