<h2 class="box1">hello world !</h2>
<h2 class="box2">hello world !</h2>
h2 {
font-size: 28px;
text-align: center;
color: transparent;
}
.box1 {
background: linear-gradient(#ff6347, #ffffff);
background-clip: text;
}
.box2 {
background: linear-gradient(0.25turn, #3f87a6, #ebf8e1, #f69d3c);
background-clip: text;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.