// Rollover Image Effect // .sqs-gallery-block-stacked .sqs-gallery { position: relative; } .sqs-gallery-block-stacked .sqs-gallery .image-wrapper:hover ~ .image-wrapper { opacity: 1; } .sqs-gallery-block-stacked .sqs-gallery .image-wrapper ~ .image-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; transition: opacity 0.3s ease-in; }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter