How can I create an effect in Webflow where the top text layer is filled with color, while the other two layers are stroke only?

Published on
September 22, 2023

To create an effect in Webflow where the top text layer is filled with color while the other two layers are stroke only, you can follow these steps:

  1. Start by adding a div block to your Webflow project where you want to apply the effect.

  2. Inside the div block, create three text layers, one on top of the other. This will be the stack of text layers that will create the desired effect.

  3. For the top text layer, apply the desired color fill. You can do this by selecting the text layer and choosing a color from the color picker in the Style panel.

  4. For the middle and bottom text layers, apply a stroke only. Again, select the text layers one by one and navigate to the Style panel. Under the Text section, you'll find the Stroke option. Enable the stroke and set the desired stroke color and width.

  5. Adjust the positioning and spacing of the text layers as needed to achieve the desired layout and effect. You can use flexbox, margins, or padding to arrange the text layers properly.

  6. To create the stacked effect, adjust the z-index of each text layer. By default, elements in Webflow are stacked on top of each other in the order they are added. So, set a higher z-index for the top text layer, a lower z-index for the middle text layer, and an even lower z-index for the bottom text layer. This will ensure that the top layer overlaps the other two layers and creates the desired effect.

  7. Fine-tune the effect by adjusting other styling properties such as font size, font weight, and letter spacing to get the desired look.

Once you've followed these steps, you should have an effect in Webflow where the top text layer is filled with color while the other two layers are stroke only.

Additional Questions:

  1. How do I add a div block in Webflow?
  2. Can I apply different font styles to different text layers in Webflow?
  3. What other visual effects can I create using z-index in Webflow?