Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- div.cssbox {
- display: inline-block;
- }
- span.cssbox_full {
- z-index: 999;
- position: fixed;
- height: 100%;
- width: 100%;
- background-color: rgba(0,0,0,0.8);
- top: 0;
- left: 0;
- opacity: 0;
- pointer-events: none;
- transition: opacity 0.5s linear;
- }
- span.cssbox_full img {
- position: fixed;
- background-color: white;
- margin: 0;
- padding: 0;
- max-height: 90%;
- max-width: 90%;
- top: 50%;
- left: 50%;
- margin-right: -50%;
- transform: translate(-50%, -50%);
- box-shadow: 0 0 20px black;
- }
- a.cssbox_close,
- a.cssbox_prev,
- a.cssbox_next {
- z-index: 999;
- position: fixed;
- text-decoration: none;
- visibility: hidden;
- color: white;
- font-size: 36px;
- }
- a.cssbox_close {
- top: 1%;
- right: 1%
- }
- a.cssbox_close::after {
- content: '