To enlarge the horizontal outline of a divider on hover in Webflow, you can use either width or thickness effects depending on your design goal.
1. Add the Divider Element
- Drag a Divider from the Add panel into your layout.
- Alternatively, use a Div Block with a styled border-bottom if you want more control.
2. Style the Divider's Default State
- Select the divider element.
- In the Style panel, set a definitive width (e.g., 50px) or border thickness (e.g., 2px solid black).
- You can position it using margin or flex/grid layout depending on design.
3. Add a Hover State
- With the divider selected, click on the dropdown next to the Selector name at the top of the Style panel, then select Hover.
- Adjust one or both of the following for the hover state:
- Width: Increase it (e.g., from 50px to 100px).
- Border Thickness: Increase it (e.g., from 2px to 5px).
4. Add a Smooth Transition
- Switch back to the None (default) state.
- In the Transitions & Transforms section, click + Add Transition.
- Choose the width, border-width, or all properties to animate.
- Set a duration (e.g., 200ms) and easing style (e.g., ease-in-out) for a fluid effect.
5. Preview the Interaction
- Hover over the divider in Preview mode to ensure the enlargement behaves as intended.
- Adjust the values for width or thickness as needed for a more dramatic or subtle effect.
Summary
To enlarge a divider’s horizontal outline on hover in Webflow, apply hover state styles that increase its width or border thickness, then add smooth transitions to animate the effect.