Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #header { background: url(%%yourimagename%%) 0 19px; height: 120px; }
- #header-bottom-left { position: absolute; bottom: 0; }
- #header:before {
- background: url(%%yourimagename%%) no-repeat center top;
- content: '';
- position: absolute;
- height: 120px;
- top: 0px;
- right: 0;
- bottom: 0;
- left: 0;
- z-index: -1;
- -webkit-animation: pan 120s linear infinite;
- -moz-animation: pan 120s linear infinite;
- animation: pan 120s linear infinite;
- }
- @-webkit-keyframes pan {
- 0% { background-position: 50% 0; }
- 50% { background-position: 50% -950px; }
- 100% { background-position: 50% 0; }
- }
- @-moz-keyframes pan {
- 0% { background-position: 50% 0; }
- 50% { background-position: 50% -950px; }
- 100% { background-position: 50% 0; }
- }
- @keyframes pan {
- 0% { background-position: 50% 0; }
- 50% { background-position: 50% -950px; }
- 100% { background-position: 50% 0; }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement