Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- body {
- background-color:purple;
- margin: 0;
- }
- a {
- color: white;
- text-decoration: none;
- }
- #content {
- background-color: white;
- width: 900px;
- margin: 50px auto;
- padding: 35px;
- z-index: 100;
- }
- #galeria {
- width: 600px;
- height: 600px;
- margin: 0 auto;
- position: relative;
- overflow: hidden;
- white-space:nowrap;
- white-space:nowrap;
- }
- #galeria>div {
- display: inline-block;
- background-size: cover;
- position: relative;
- width: 600px;
- height: 600px;
- left: 0;
- -webkit-animation: slide 15s linear infinite;
- -webkit-animation-delay: 1s;
- animation: slide 15s linear infinite;
- animation-delay: 1s;
- }
- @-webkit-keyframes slide {
- 0% { left: 0%; }
- 20% { left: 0%; }
- 25% { left: -100%; }
- 45% { left: -100%; }
- 50% { left: -200%; }
- 70% { left: -200%; }
- 75% { left: -300%; }
- 95% { left: -300%; }
- 100% { left: -400%; }
- }
- @keyframes slidy {
- 0% { left: 0%; }
- 20% { left: 0%; }
- 25% { left: -100%; }
- 45% { left: -100%; }
- 50% { left: -200%; }
- 70% { left: -200%; }
- 75% { left: -300%; }
- 95% { left: -300%; }
- 100% { left: -400%; }
- }
- #banner {
- top: 0;
- background-color: #4386d3;
- height: 200px;
- width: 100%;
- position: absolute;
- margin: 0;
- padding: 20px 0;
- z-index: -100;
- }
- #banner > div {
- font-size: 175%;
- margin: 0 auto;
- width: 960px;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement