.wrap {
    position: relative;
    display: inline-block;

    .image {

    }

    .mask {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0,0,0,.5);
        opacity: 0;
        transition: opacity .3s;
        z-index: 9;
        font-size: 12px;

        .text {
            color: #fff;
        }
    }

    &:hover {
        .mask {
            opacity: 1;
        }
    }
}
