header - gradient changing
by sharzy
HTML
HTML CSS JSResult
EDIT ON
<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>
Resources1×0.5×0.25×Rerun
CSS
HTML CSS JSResult
EDIT ON
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:...