Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- body {
- margin: 0;
- }
- #slider {
- position: relative;
- height: 300px;
- width: 100%;
- }
- #fadedscreen {
- width: 100%;
- height: 300px;
- background-color: rgba(0,0,0,0.5);
- position: absolute;
- top: 0;
- left: 0;
- z-index: 15;
- }
- .box {
- position: absolute;
- top: 0;
- left: 0;
- height: 300px;
- width: 100%;
- }
- .current {
- z-index: 10;
- }
- .waiting {
- z-index: 3;
- }
- #boxzero {
- background-image: url(images/0.jpg);
- background-size: cover;
- background-position: center center;
- }
- #boxone {
- background-image: url(images/1.jpg);
- background-size: cover;
- background-position: center center;
- visibility: hidden;
- }
- #boxtwo {
- background-image: url(images/2.jpg);
- background-size: cover;
- background-position: center center;
- visibility: hidden;
- }
- #boxthree {
- background-image: url(images/3.jpg);
- background-size: cover;
- background-position: center center;
- visibility: hidden;
- }
- #boxfour {
- background-image: url(images/4.jpg);
- background-size: cover;
- background-position: center center;
- visibility: hidden;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement