Bricksmotion Components
  • Getting Started
  • Setup
    • Where is my license key?
    • Activate you license within Bricksforge
  • Using components
    • Bricksforge One-Click
    • Bricks Structure
    • Activate "Event Panel"
    • Manual Importing Timelines and Events
    • Locked Classes
    • Reassign Timelines
    • Loading Conditions
  • Components
    • HEROES
      • Hero #1
      • Hero #2
      • Hero #3
      • Hero #4
      • Hero #5
      • Hero #6
      • Hero #7
      • Hero #8
      • Hero #9
      • Hero #10
    • SCROLL SCENES
      • Sticky Sections #1
      • Vertical Scroll #1
      • Scroll Scene #1
      • Scroll Scene #2
      • Scroll Scene #3
      • Scroll Scene #4
      • Scroll Scene #6
      • Scroll Scene #7
      • Scroll Scene #8
      • Scroll Scene #9
    • BUTTONS
      • Button #1
      • Button #2
      • Button #3
      • Button #4
      • Button #5
      • Button #6
      • Button #7
    • TABS
      • Tabs #3
      • Tabs #4
    • PROJECTS
      • Projects #1
      • Projects #2
      • Projects #3
      • Projects #4
      • Projects #5
      • Projects #6
      • Projects #7
    • CTA
      • CTA #1
      • CTA #2
    • CARDS
      • Cards #1
      • Cards #2
    • MENUS
      • Bottom Nav #1
      • Mega Menu #1
      • Full Screen Menu #2
      • Full Screen Menu #3
    • CUSTOM CURSORS
      • Custom Cursor #1
    • LOADING SCREENS
      • Loading Screen #1
      • Loading Screen #2
      • Loading Screen #3
    • TEXT
      • Text Hover #1
      • Split Text #2
    • IMAGE
      • Image Tilt #1
      • Image Reveal #1
      • Image Reveal #2
      • Image Reveal #3
    • PROGRESS BARS
      • Progress Bar #1
      • Progress Bar #2
Powered by GitBook
On this page
  • Component Structure
  • Animation Structure
  1. Components
  2. IMAGE

Image Reveal #1

Component Structure

  • IR1 COMPONENT (Section): Acts as the main container for the image reveal effect, facilitating the necessary structure for animation.

  • IR1 CONTAINER (Container): Centers the image within the component, ensuring it's appropriately aligned for the reveal effect.

    • IR1 IMG CONTAINER (Div): A key element in the reveal effect, employing the ir1__img-container class for size and overflow control. It sets the stage for the image and its masking effect.

      • IR1 IMG MASK (Div): Utilizes the ir1__img-mask class to create an overlay that will animate to reveal the image beneath. It's styled to cover the image fully at the start.

      • IR1 IMG (Image): The target image for the reveal, adorned with the ir1__img class to ensure it fits perfectly under the mask. The image is set to cover the container's area completely, ensuring no part is left uncovered initially.

Animation Structure

IR1 - SCROLL

This timeline activates upon scrolling, featuring two primary animations that work in tandem to create the reveal effect:

  1. Mask Scale Animation: Targets the .ir1__img-mask within the .ir1__img-container, initially covering the image entirely. As the user scrolls, the mask scales horizontally to zero, gradually revealing the image underneath. The animation emphasizes a smooth transition, powered by the "power2.out" easing.

  2. Image Move and Scale Animation: Concurrently, the .ir1__img itself is subjected to a subtle transformation, moving horizontally by "5%" and scaling up to "1.2". This slight movement and zoom effect add depth to the reveal, making the image appear to emerge from beneath the mask.

PreviousImage Tilt #1NextImage Reveal #2

Last updated 1 year ago