r/webflow • u/ramble_on_1978 • 2d ago
Need project help Need help recreating this highlighter effect in Webflow
Can someone help me recreate that highlighter effect behind "Save $50" in webflow?
1
Upvotes
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.
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