How can I recreate a curved underline effect like the one shown in the screenshot using Webflow?

Published on
September 22, 2023

To recreate a curved underline effect like the one shown in the screenshot using Webflow, you can follow these steps:

  1. Add a Div Block: Start by adding a Div Block to your Webflow project. This will serve as the container for the curved underline element.

  2. Style the Div Block: Give the Div Block a class name, and then navigate to the "Style" panel. Add the desired width and height to the Div Block, and set its position to relative.

  3. Add a Link Element: Inside the Div Block, add a link element, such as an Anchor Link or a Text Link. This will be the text that you want to apply the curved underline effect to.

  4. Style the Link Element: Give the link element a class name, and then navigate to the "Style" panel. Set its position to relative, and adjust its font styles (e.g., font size, color, etc.) according to your preference.

  5. Add a Span Element: Inside the link element, add a Span element. This will be used for creating the curved underline effect.

  6. Style the Span Element: Give the span element a class name, and then navigate to the "Style" panel. Set its position to absolute, and adjust its width and height according to the desired thickness and length of the curved underline.

  7. Create the Curved Underline Effect: To create the curved underline effect, apply the following styles to the span element:

  • Set the background-color property to the desired color for the curved underline.
  • Set the border-radius property to a high value (e.g., 1000px) to create a curved shape.
  • Adjust the top and left properties to position the curved underline correctly beneath the text.
  1. Preview and Adjust: Preview your project to see how the curved underline effect appears. If needed, you can make further adjustments to the styles and positioning to achieve the desired look.

By following these steps, you should be able to recreate a curved underline effect like the one shown in the screenshot using Webflow.

Additional Questions:

  1. How can I add a curved underline effect to other elements in Webflow?
  2. Can I customize the color and thickness of the curved underline effect in Webflow?
  3. Are there any other CSS properties that can enhance the curved underline effect?