A Pen by Joanna Bennett

Thumbnail
This awesome code was written by jobennett, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright jobennett ©
  • HTML
  • CSS
  • JavaScript
    <header>
  <h1> Subtle Animated Background (CSS3) </h1>
</header>

/*Downloaded from https://www.codeseek.co/jobennett/a-pen-by-joanna-bennett-RNVpEv */
    @-webkit-keyframes animatedBackground {
	from { background-position: 0 0; }
	to { background-position: 100% 0; }
}

@keyframes animatedBackground {
	from { background-position: 0 0; }
	to { background-position: 100% 0; }
}

header	{ 
	width: 960px; 
	height: 330px; 
	background-image: url(http://truelaunch.com/images/sky.jpg);
	background-position: 0px 0px;
	-webkit-animation: animatedBackground 80s linear infinite;
  animation: animatedBackground 80s linear infinite;
  background-repeat:no-repeat;
  background-size:150%;
}

header h1 {color:white; padding:20px}


/*Downloaded from https://www.codeseek.co/jobennett/a-pen-by-joanna-bennett-RNVpEv */
    

Comments