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. CTA

CTA #2

Component Structure

  • CTA2 COMPONENT (Section): This section acts as the primary wrapper, using the cta2__component CSS class. It sets the stage for the entire CTA, defining the background and other visual elements that make the CTA stand out.

  • CTA2 CONTAINER (Container): Nested within the CTA2 COMPONENT, this container, styled with cta2__container, organizes the content of the CTA, ensuring proper alignment and distribution.

  • CTA2 WRAPPER (Block): Within the container, the CTA2 WRAPPER holds the heading, text, button, and image. It uses the cta2__wrapper class to apply a unique clip-path animation, background color, and styling to center its content.

  • CTA2 HEADING (Heading): The headline of the CTA, crucial for capturing the user's interest. Styled with cta2__heading, it ensures the text is visually appealing against the component's background.

  • CTA2 TEXT (Text-basic): Provides additional information or persuasive content beneath the heading. The cta2__text class is used for styling, focusing on text color, alignment, and readability.

  • CTA2 BUTTON (Button): The action element of the CTA, encouraging users to take a specified action. It's styled with cta2__button for prominence and alignment with the component's visual hierarchy.

  • CTA2 IMAGE (Image): Enhances the CTA with visual imagery, using the cta2__image class for styling. It's positioned within the wrapper for optimal visual integration with the text and button.

Animation Structure

  • CTA2 - In View: This animation sequence is triggered when the CTA component comes into the viewport, consisting of:

    • An animation that adjusts the --clip-width custom property from 50% to 0%, revealing the .cta2__wrapper content in a visually engaging manner by expanding the clip-path.

    • A subsequent animation targets the child elements within .cta2__wrapper, bringing them into view with a vertical movement and fade-in effect, enhancing the reveal with staggered timing for each element.

PreviousCTA #1NextCARDS

Last updated 1 year ago