Forked from Chris Coyier's Pen BdhbD.
A Pen by Captain Anonymous on CodePen.
<div class="gradient"> | |
<h1>SpclOps</h1> | |
</div> |
Forked from Chris Coyier's Pen BdhbD.
A Pen by Captain Anonymous on CodePen.
div { | |
height: 100px; | |
background-color: #08088f; | |
background-image: | |
linear-gradient( | |
to right, | |
#08088f, blue | |
); | |
} | |
body { | |
margin:0; | |
padding:0; | |
} | |
div.gradient { | |
margin-top:-21px; | |
border-top: 1px solid #000; | |
} | |
h1 { | |
font-family: Arial; | |
color: #fff; | |
letter-spacing:1px; | |
border: 1px inset #fff; | |
width: 160px; | |
text-align: center; | |
background: #08088f; | |
padding: 5px 0px; | |
border-radius: 5px; | |
margin-top: 15px; | |
margin-left: 20px; | |
} |