HTML

javascript lightbox css

May 14th, 2018
359
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.39 KB | None | 0 0
  1. .active,.demo:hover {
  2.             opacity:1;
  3. }
  4. .caption-container {
  5.             text-align:center;
  6.             background:#000;
  7.             padding:2px 16px;
  8.             color:white;
  9. }
  10. .close {
  11.             color:white;
  12.             position:absolute;
  13.             top:10px;
  14.             right:25px;
  15.             font-size:35px;
  16.             font-weight:bold;
  17. }
  18. .close:hover,.close:focus {
  19.             color:#999;
  20.             text-decoration:none;
  21.             cursor:pointer;
  22. }
  23. .column { /* making four columns equal widths to float next to one another */
  24.             float:left;
  25.             width:22%;
  26. }
  27. .demo {
  28.             opacity:0.6;
  29. }
  30. .hover-shadow {
  31.             transition:0.3s;
  32.             width:200px;
  33. }
  34. .hover-shadow:hover {
  35.             box-shadow:0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19)
  36. }
  37. .modal {
  38.             display:none;
  39.             position:fixed;
  40.             z-index:1;
  41.             padding-top:100px;
  42.             left:0;
  43.             top:0;
  44.             width:100%;
  45.             height:100%;
  46.             overflow:auto;
  47.             background:#000;
  48. }
  49. .modal-content {
  50.             position:relative;
  51.             background:#FEFEFE;
  52.             margin:auto;
  53.             padding:0;
  54.             max-width:1000px;
  55. }
  56. .mySlides {
  57.             display:none;
  58.             height:800px;
  59.             width:1200px;
  60.             background:#000;
  61. }
  62. .numbertext {
  63.             color:#F2F2F2;
  64.             font-size:12px;
  65.             padding:8px 12px;
  66.             position:absolute;
  67.             top:0;
  68. }
  69. .photo {
  70.             max-width:1000px;
  71.             max-height:750px;
  72.            
  73. }
  74. .row > .column {
  75.             padding:0px 8px;
  76. }
  77. .row:after {
  78.             content:"";
  79.             display:table;
  80.             clear:both;
  81. }
  82. .thumb {
  83.             width:200px;
  84.             margin-left:10px;
  85.             margin-right:10px;
  86. }
Advertisement
Add Comment
Please, Sign In to add comment