<div class="container">
<p>
epic mega sale.
</p>
</div>
*{
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: 'Verdana', sans-serif;
}
html, body{
height: 100vh;
background: linear-gradient(to bottom, #7927b2, #fb3182);
display: flex;
justify-content: center;
align-items: center;
}
.container{
width: 90%;
height: 400px;
max-width: 960px;
margin: 0 auto;
padding: 30px;
background: #fff;
display: flex;
justify-content: center;
align-items: center;
}
p{
font-size: 90px;
font-weight: bold;
background: linear-gradient(to right, #7927b2, #fb3182);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
max-width: 350px;
text-transform: uppercase;
line-height: .77;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.