.nb-image-reveal-v2{
    position: relative;
    overflow: hidden;
}
.nb-image-reveal-v2[data-flickering="1"]{
    opacity: 0;
}
.nb-image-reveal-v2__mask {
    position: absolute;
    width: 100%;
    height: 100%;
}
.nb-image-reveal-v2__image {
    width: 100%;
    height: 100%;
}
.nb-image-reveal-v2[data-from="left"] .nb-image-reveal-v2__mask,
.nb-image-reveal-v2[data-from="left"] .nb-image-reveal-v2__image {
    transform: translateX(-150%);
}
.nb-image-reveal-v2[data-from="right"] .nb-image-reveal-v2__mask,
.nb-image-reveal-v2[data-from="right"] .nb-image-reveal-v2__image {
    transform: translateX(150%);
}
.nb-image-reveal-v2[data-from="top"] .nb-image-reveal-v2__mask,
.nb-image-reveal-v2[data-from="top"] .nb-image-reveal-v2__image {
    transform: translateY(-150%);
}
.nb-image-reveal-v2[data-from="bottom"] .nb-image-reveal-v2__mask,
.nb-image-reveal-v2[data-from="bottom"] .nb-image-reveal-v2__image {
    transform: translateY(150%);
}