r/webflow • • 2d ago

Need project help Need help recreating this highlighter effect in Webflow

Post image

Can someone help me recreate that highlighter effect behind "Save $50" in webflow?

1 Upvotes

5 comments sorted by

2

u/0kk1n 1d ago

Create an svg texture. Add a span to "Save $50". Create a style span:before {content: ''; position: absolute; inset: 0; background: url(your-texture-url). Done.

1

u/Jackolyn_Ghedbane 1d ago

yeah adding a text span is definitely the cleanest way to handle this in the designer.

2

u/Acceptable_Mouse_252 1d ago

you can skip the custom code: wrap "Save $50" in a span, give it a class and add a linear gradient bg, transparent down to ~45% then your light green, so it only sits behind the lower half like in your shot. swap in a brush texture image if you want the rough edges