Cascading Images
The Cascading Images element stacks up to four images as layers, each with its own offset, rotation, scale and shadow. Layers animate in separately as the element scrolls into view, so the group assembles itself rather than appearing all at once.
It is the element to use whenever a single flat screenshot or photo would look inert:
- Product or app shots layered at an angle
- Device mockups where a detail view overlaps the main screen
- Editorial photo collages
- Hero visuals that need depth beside a column of text
Layer order
Layer #1 sits at the bottom of the stack and each subsequent layer sits above it. Plan the composition from the back forward. The image that should read as "on top" goes in the highest-numbered layer you use.
Usage
- Add the Element: In the Salient WPBakery page builder, click Add Element and choose Cascading Images.
- Add Your First Layer: On the Layer #1 tab, select the image that sits at the back of the stack.
- Add Further Layers: Fill in Layer #2, #3 and #4 as needed. Layers left without an image are skipped.
- Position Each Layer:
Use Offset X and Offset Y with the
+/−sign controls to move each layer, then add rotation and scale to taste. - Stagger the Animations: Give each layer a different CSS Animation so the stack builds up instead of arriving in one block.
Layer Options
Every layer, Layer #1 through Layer #4, carries the same settings. The four transform controls are what actually build the composition:
| Control | Range | Sign control |
|---|---|---|
| Offset X | 0% to 100%, in 5% steps | + right, − left |
| Offset Y | 0% to 100%, in 5% steps | + down, − up |
| Rotate | None, then 2.5° to 20° in 2.5° steps | + clockwise, − counterclockwise |
| Scale | 100% to 250% | n/a |
- Image Media The image for this layer, selected from the media library.
- Layer BG Color Color A background color for the layer, which shows through where the image does not cover it, or behind a transparent PNG.
- Offset X Choice Moves the layer horizontally, from
0%to100%in 5% steps. The adjacent sign control sets the direction:+moves it right,−moves it left. - Offset Y Choice Moves the layer vertically over the same range, with
+moving it down and−moving it up. - Rotate Choice Tilts the layer: None, or 2.5° through 20° in 2.5° steps, with the sign control choosing clockwise (
+) or counterclockwise (−). - Scale Choice Scales the layer from
100%up to250%. - CSS Animation Choice How the layer enters as it scrolls into view: Fade In, Fade In From Left, Fade In From Right, Fade In From Bottom, Grow In, Grow In Reveal, Flip In or None.
- Layer Padding Choice By default each layer gets padding based on the offsets applied to it. Set this to None for precise positioning when you are placing layers by offset values. Otherwise the automatic padding fights the numbers you entered.
- Box Shadow Choice The shadow under the layer: None, Small Depth, Medium Depth, Large Depth or Very Large Depth. Shadows are what separate the layers visually; without one, an offset stack can read as a single flat image.
- Desktop Max Image Width Choice Caps how large the layer renders on desktop, from
100%to200%of its container. - Mobile Max Image Width Choice The same cap for mobile, over the same range.
- Mobile Image Width Choice Tells the browser roughly how much screen width the image will occupy on mobile, as a percentage. This feeds the image's
sizesattribute so the browser can pick the best source file. Set it to match the layout rather than leaving it at Default if the image is noticeably smaller than the full screen width.