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
  1. Components
  2. BUTTONS

Button #4

PreviousButton #3NextButton #5

Last updated 1 year ago

Unstyle the magnet area: To get rid of the grey div (magnet area). Just reset all styles on .btn4__magnet except of the padding.

Styling the button: You can style the button as you like. Just select the class .btn4.

Expanding the magnet area and adjusting magnetic value:

  1. Select the builder elment BTN4 MAGNET and the class .btn4__magnet. Go styling -> layout and adjust the padding to your needs.

  2. Open the Bricksforge panel got to events and select BTN4 MOUSEMOVE. In the animation object (far right) open the code panel.

  3. Adjust the highlighted values. If you double up the padding of .btn4__magnet (from 20px to 40px) you should double up these values, too. Feel free to play around with the values until it fits your needs.

Edit the mouseleave animation: Open the Bricksforge panel go to events and select BTN4 MOUSELEAVE. In the animation object (far right) you can see 'duration' and 'ease'. You can adjust these values to your needs.