Are you first timer at lazacode.org? Why not join us and start exchange your programming knowledge with everyone. Register today!

CSS - overlay modal

0 votes
4 views
added Sep 5 in CSS by LC Marshal Lieutenant (13,450 points)
.global-overlay-modal {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 350ms;
    // visibility: hidden;
    opacity: 1;
    z-index: 9999999;
    .img-popup {
        &-detail {
            width: 100%;
            margin: 11% auto 0;
            text-align: center;
            img {
                width: 55% !important;
                height: auto !important;
            }
        }
    }
}

 

Please log in or register to response this reference.

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...