<div class="StreamsHero-image">
<div class="StreamsHero-content">
<div class="StreamsHero-buttonContainer">
<a href="https://twitter.com/fredsrocha" class="js-nav" data-element="logo" target="_blank">
<i class="fa fa-twitter fa-2x" aria-hidden="true"></i><!--
--><small>by @fredsrocha</small></a>
<a class="Button StreamsSignUp js-signup" href="https://twitter.com/signup" data-component="hero" data-element="buttons">Inscreva-se</a>
<a class="Button StreamsLogin js-login" href="/login">Entrar</a>
</div>
<h2 class="StreamsHero-header">Veja o que está acontecendo agora.</h2>
<p class="StreamsHero-blurb">Encontre comunidades, conversas e inspirações do que você mais adora.</p>
</div>
</div>
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
color: white;
}
.js-nav {
color: white;
text-decoration: none;
position: absolute;
left: 2em;
}
.StreamsHero-image {
/* Wave Color */
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#59adeb+0,42c2b5+52,34ce93+100 */
background: #59adeb;
/* Old browsers */
background: -moz-linear-gradient(-45deg, #59adeb 0%, #42c2b5 52%, #34ce93 100%);
/* FF3.6-15 */
background: -webkit-linear-gradient(-45deg, #59adeb 0%, #42c2b5 52%, #34ce93 100%);
/* Chrome10-25,Safari5.1-6 */
background: linear-gradient(135deg, #59adeb 0%, #42c2b5 52%, #34ce93 100%);
/* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#59adeb', endColorstr='#34ce93', GradientType=1);
/* IE6-9 fallback on horizontal gradient */
background-size: 350% 350%;
animation: waveColors 8s ease infinite;
/* End Wave Color */
position: absolute;
top: 0;
left: 0;
width: 100%;
text-align: center;
margin: 0 auto;
}
.StreamsHero-header {
color: #fff;
font-weight: 200;
line-height: 48px;
margin-bottom: -5px;
font-size: 32px;
}
.StreamsHero-blurb {
color: #fff;
font-size: 21px;
font-weight: 200;
line-height: 28px;
opacity: .7;
-ms-filter: "alpha(opacity=70)";
transition: opacity 300ms linear;
padding-bottom: 2em;
}
/* Buttons */
.Button {
-webkit-appearance: none;
background: transparent;
border-color: currentcolor;
border-style: solid;
border-width: 1px;
-moz-box-sizing: border-box;
box-sizing: border-box;
color: inherit;
cursor: pointer;
display: inline-block;
font: inherit;
line-height: normal;
margin: 0;
padding: .4em .75em;
position: relative;
text-align: center;
text-decoration: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
white-space: normal;
}
.StreamsHero-buttonContainer {
color: #fff;
margin: 0 auto;
padding-top: 1.5em;
padding-bottom: 1em;
text-align: right;
width: 95%;
}
.StreamsHero-buttonContainer .Button {
border-radius: 5px;
border: 1px solid rgba(255, 255, 255, 0.3);
font-size: 16px;
font-weight: 200;
padding: 10px 35px;
}
.StreamsHero-buttonContainer .Button.StreamsLogin {
background: rgba(255, 255, 255, 0.3);
border: 1px solid transparent;
}
.StreamsHero-buttonContainer .Button:hover,
.StreamsHero-buttonContainer .Button:focus {
background: #fff;
color: #1da1f2;
}
/* Animation Wave Color */
@-webkit-keyframes waveColors {
0% {
background-position: 0% 7%;
}
50% {
background-position: 100% 94%;
}
100% {
background-position: 0% 7%;
}
}
@keyframes waveColors {
0% {
background-position: 0% 7%;
}
50% {
background-position: 100% 94%;
}
100% {
background-position: 0% 7%;
}
}
/* End Animation Wave Color */
/*
For more: https://fredsrocha.github.io
Follow: @fredsrocha
*/
This Pen doesn't use any external JavaScript resources.