Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- body {
- margin: 0;
- padding: 0;
- }
- #slideshow {
- position: relative;
- overflow: hidden;
- height: 100px;
- }
- #animate-area {
- height: 100%;
- width: 2538px;
- position: absolute;
- left: 0;
- top: 0;
- background-image: url('http://s30.postimg.org/qnju89rkx/banner.png');
- -webkit-animation: animatedBackground 40s linear infinite;
- }
- /* Put your css in here */
- @keyframes animatedBackground {
- from { left: 0; }
- to { left: -1269px; }
- }
- @-webkit-keyframes animatedBackground {
- from { left: 0; }
- to { left: -1269px; }
- }
- @-moz-keyframes animatedBackground {
- from { left: 0; }
- to { left: -1269px; }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement