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

Hero #2

Component Structure

COPY WRAPPER (div): Serves as the top-level container for the hero section, encapsulating all its elements without any specific styling applied directly.

HR2 SECTION (section): Acts as the main structural element of the hero component, with a CSS Class hr2__component applied to center the content and align items within the full viewport height.

HR2 CONTAINER (container): A container within the section that further aligns and organizes the hero content, using the hr2__container class to center items.

HR2 CONTENT (div): This div wraps the headline and button/text wrapper, employing a flex display to manage layout with responsiveness in mind, especially for tablet and mobile views.

HR2 HEADLINE (heading): Displays the primary message of the hero section. It uses the hr2__headline class for styling and is an H1 tag, emphasizing its importance.

HR2 WRAPPER (div): Contains the button and text elements, structured with flexbox to ensure proper alignment and spacing, adapting for mobile portrait orientations.

HR2 BUTTON (button): A call-to-action button labeled "Button," styled with a hr2__button class, indicating its dark style and importance in mobile portrait order.

HR2 TEXT (text-basic): Provides additional descriptive text using the hr2__text class to manage margins and maximum width for readability.

HR2 IMAGE GRID (div): Organizes images in a grid layout, applying the hr2__image-grid class to define grid columns, gaps, and top margin adjustments.

HR2 IMAGE WRAPPER and HR2 IMAGE (div and image): Multiple wrappers and image elements each using the hr2__image-wrapper and hr2__image classes respectively. These elements display various placeholder images, with specific classes (hr2__down, hr2__up) to manipulate their initial animation states.

Animation Structure

HR2 - Pageload (Timeline/Event): This timeline triggers animations for the hero component on page load, targeting elements with specific classes to animate properties such as opacity and vertical position. Key animations include:

.hr2__headline: Animated to fade in and move up slightly, creating a welcoming effect for the headline.

.hr2__button: Appears with a fade and upward movement, drawing attention shortly after the headline.

.hr2__text: Fades in with a slight horizontal movement, adding to the sequential reveal of content.

.hr2__down and .hr2__up: These selectors target the image elements, animating them differently based on their class to create a layered effect, enhancing the visual appeal on page load.

PreviousHero #1NextHero #3

Last updated 1 year ago