How can I create a curved/wave shape boundary for a section/div in Webflow, similar to the shape seen in the provided Figma design?

Published on
September 22, 2023

To create a curved or wave shape boundary for a section or div in Webflow, you can use the built-in shape dividers or create a custom shape using CSS. Here's how you can do it:

Using built-in shape dividers

  1. Open your Webflow project and navigate to the page where you want to add the curved/wave shape boundary.
  2. Add a section or div block to the page by dragging and dropping it from the Elements panel into the desired position.
  3. Select the section or div block and go to the Style panel on the right-hand side.
  4. Scroll down to the "Shapes" section and click on "Add" next to "Top" or "Bottom" shape divider.
  5. Choose the desired shape from the available options, such as waves, curves, or zigzags.
  6. Adjust the size, color, and position of the shape divider to achieve the desired effect.
  7. Repeat the process for the other side if needed.

Creating a custom shape using CSS

  1. Open your Webflow project and navigate to the page where you want to add the curved/wave shape boundary.
  2. Add a section or div block to the page by dragging and dropping it from the Elements panel into the desired position.
  3. Give the section or div block a unique class name by selecting it and going to the Settings panel on the right-hand side.
  4. Click on the "Custom Code" tab in the Style panel.
  5. In the "Head Code" section, enter the following CSS code:
<style>.custom-shape {  position: relative;  overflow: hidden;}.custom-shape:before {  content: "";  position: absolute;  top: -100px;  left: 0;  width: 100%;  height: 200px;  background-color: #yourcolor;  border-radius: 50% 50% 0 0;}</style>

Replace custom-shape with your chosen class name and #yourcolor with the desired background color for the shape.

  1. Click on the "Save Changes" button to apply the CSS code.
  2. Adjust the height and other properties in the CSS code (e.g., top, left, border-radius) to achieve the desired shape and position of the curve.
  3. Preview your site in the Webflow designer or publish it to see the curved/wave shape boundary applied to the section or div block.

By following these steps, you should be able to create a curved or wave shape boundary for a section or div in Webflow. Experiment with different shapes, sizes, and colors to achieve the desired effect for your design.

Additional Questions:

  1. How do I create a zigzag shape boundary in Webflow?
  2. Can I animate the shape dividers in Webflow?
  3. How can I create a curved shape boundary with different curves on each side in Webflow?