<div class="contain">
<h1>Lookit' Here Ma, I Coded Me a fine young glowy arrow!</h1>
<h2>...And it don't even run on gas, just CSS!</h2>
<a href="#personalStatement" class="button scroll">
<span class="scroll-down-arrow"></span>
</a>
</div>
body {
background: rgba(105,155,200,0.9);
background: radial-gradient(top left, ellipse cover, rgba(105,155,200,1,0.9) 0%, rgba(181,197,216,1,0.9) 57%,0.9);
background: gradient(radial, top left, 0px, top left, 100%, color-stop(0%,rgba(105,155,200,1,0.9),0.9), color-stop(57%,rgba(181,197,216,1,0.9),0.9),0.9);
background: radial-gradient(top left, ellipse cover, rgba(105,155,200,1,0.9) 0%,rgba(181,197,216,1,0.9) 57%,0.9);
background: radial-gradient(top left, ellipse cover, rgba(105,155,200,1,0.9) 0%,rgba(181,197,216,1,0.9) 57%,0.9);
background: radial-gradient(top left, ellipse cover, rgba(105,155,200,1,0.9) 0%,rgba(181,197,216,1,0.9) 57%,0.9);
background: radial-gradient(ellipse at top left, rgba(105,155,200,1,0.9) 0%,rgba(181,197,216,1,0.9) 57%,0.9);
text-align: center;
font-family: 'helvetica-neue',helvetica,sans-serif;
color: white;
vertical-align: middle;
margin: 5% 0;
}
.contain {display: inline-block; vertical-align: middle;}
h1, h2 {
font-size: 1.05em;
letter-spacing: 0.3em;
font-weight: 500;
text-transform: uppercase;
line-height: 1.4em;
}
h2 {
font-weight: 300;
font-size: 0.9em;
letter-spacing: 0.2em;
opacity: 0.8;
margin-bottom: 30px;
}
.button.scroll {
padding: 8px;
background: #111;
display: inline-block;
width: 20px;
height: 20px;
text-align: center;
vertical-align: middle;
border-radius: 50%;
position: relative;
}
.scroll-down-arrow {
margin: 5px 0 0;
position: absolute;
left: 13px;
top: 7px;
animation: bounce 1000ms ease infinite;
animation: bounce 1000ms ease infinite;
animation: bounce 1000ms ease infinite;
animation: bounce 1000ms ease infinite;
animation-timing-function: cubic-bezier(.14, .75, .2, 1.01);
animation-timing-function: cubic-bezier(.14, .75, .2, 1.01);
animation-timing-function: cubic-bezier(.14, .75, .2, 1.01);
animation-timing-function: cubic-bezier(.14, .75, .2, 1.01);
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 8px solid #f2f2f2;
content: "";
}
.button.scroll:before {
position: absolute;
top: 0;
left: 0;
box-shadow: 0px 0px 3px white, inset 0px 0px 3px white;
padding: 2px;
z-index: -1;
width: 32px;
height: 32px;
border-radius: 50%;
display: block;
content: "";
animation: ring 1s alternate 0s infinite;
animation: ring 1s alternate 0s infinite;
animation: ring 1s linear 0s infinite;
animation: ring 1s linear 0s infinite;
}
@-webkit-keyframes bounce {
0%, 100% {top: 9px; opacity: 0.5}
25% {top: 12px; opacity: 1}
50% {opacity: 0.8}
}
@keyframes bounce {
0%, 100% {top: 9px; opacity: 0.5}
25% {top: 12px; opacity: 1}
50% {opacity: 0.8}
}
@-webkit-keyframes ring {
0%, 100% {transform: scale(1,1); opacity:1}
75% {transform: scale(1.2,1.2); opacity:0.4}
}
@keyframes ring {
0%, 100% {transform: scale(1,1); opacity:1}
75% {transform: scale(1.2,1.2); opacity:0.4}
}
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.