Hey, I want to use some sketch images (underlines, scribbles etc) to compliment my text in a paragraph. Is there any way to lock the image to the position of specific words? So that as they move in a responsive way the images will stay where they need to be? Image below to show what I mean:
Now click on the class and add a background image > select the image and use the controls to make the image span the area and align to the bottom. [You may also need to increase line-height of your text]
Let me know how you get on + please reshare your read-only link!
Hey Stephen, that is just a photoshop mock at the mo, just building on webflow now
I did look at using a text-span however that creates the wrap tight to the top and bottom of the text which means I can’t get the image positioned below the text. You will see on the link that when you move the image down to be below the text, it goes out of view
Hey Alistair!
I have a similar issue – have you figured out how to get rid of this clipping? I want to make the bubble larger than the words it spans, can’t figure it out!
I didn’t. I think what I did is set the height to 100%, which made the ellipse smaller. Therefore, there is no cut-off anymore, but it’s small, so it doesn’t circle nicely around the whole text… Let me know if you find a better way!
Couldnt make it work either.
I was looking at how Timothy Ricks does it on his Wizardry website and ended up doing that.
He wraps the whole text in a div set to relative. Then the image is absolute with a higher z-index…
It works if all your sizing is done in ems (haven’t checked responsivity yet…)
I was hoping for the span/background-img to work though, it seems like it’d be a more elegant solution.