Advertisement
Guest User

Untitled

a guest
Apr 25th, 2017
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.18 KB | None | 0 0
  1.  
  2. body {
  3.     margin: 0;
  4. }
  5.  
  6.  
  7. #slider {
  8.     position: relative;
  9.     height: 300px;
  10.     width: 100%;
  11. }
  12.  
  13.  
  14.  
  15. #fadedscreen {
  16.     width: 100%;
  17.     height: 300px;
  18.     background-color: rgba(0,0,0,0.5);
  19.     position: absolute;
  20.     top: 0;
  21.     left: 0;
  22.     z-index: 15;
  23. }
  24.  
  25. .box {
  26.     position: absolute;
  27.     top: 0;
  28.     left: 0;
  29.     height: 300px;
  30.     width: 100%;
  31. }
  32. .current {
  33.     z-index: 10;
  34. }
  35. .waiting {
  36.     z-index: 3;
  37.  
  38. }
  39.  
  40.  
  41. #boxzero {
  42.     background-image: url(images/0.jpg);
  43.     background-size: cover;
  44.     background-position: center center;
  45. }
  46. #boxone {
  47.     background-image: url(images/1.jpg);
  48.     background-size: cover;
  49.     background-position: center center;
  50.     visibility: hidden;
  51. }
  52. #boxtwo {
  53.     background-image: url(images/2.jpg);
  54.     background-size: cover;
  55.     background-position: center center;
  56.     visibility: hidden;
  57. }
  58. #boxthree {
  59.     background-image: url(images/3.jpg);
  60.     background-size: cover;
  61.     background-position: center center;
  62.     visibility: hidden;
  63. }
  64. #boxfour {
  65.     background-image: url(images/4.jpg);
  66.     background-size: cover;
  67.     background-position: center center;
  68.     visibility: hidden;
  69. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement