Sometimes you just want to create a simple line in Webflow. This shouldn't be rocket science. In less than 2 minutes you can create a line that will be useful in places like dividers, navigation items, and many other places.

We are going to create a line that could be reused in many places.

Step 1 - Add a div block

Add a div block and give it a class "line" so you can re-use it as many times as you want.

Open the Add panel (A) and add a Div Block

In the Style panel (S) add a class in the Selector named line

Step 2 - Style the line

Once you have your line in place, you can then style it as much as you want. You can change things like:


  • Color
  • Image
  • Etc..
Pick a color


  • Width
  • Height
  • Etc...
Pick a size


  • Corner radius (change one or all of the corners)
  • Border
Pick a border radius

Final product

Wohoo! You created a simple line

Extra. Add effects

If you want to get even more creative you can change things like:

  • Opacity
  • Box shadows
  • 2d & 3d transforms
  • Transitions
  • Filters
You can add any of these effects. Choose wisely.
Keep in mind! This technique won't work if you want to create a dotted or dashed line ☹️