So I have a “text accent” that I’m using to highlight some headings. It grows dynamically with the word because the size of its width is set to 100%, but it does not wrap with the text. Instead it only gets wider. I want it to break out into two lines like the text does. You can see the section I’m talking about if you scroll down to the title “Featured Work” and look at the headings for the two cards underneath that section. Ideas?
hi @Michelle_Western that is a correct behaviour because of position absolute and aligning to bottom. This will not even work with use of pseudo classes like ::before to ::after. Just think about that.
I have recently posted response for identical issue so feel free to look into if one of these solutions solve your request.
EDIT: another way can be use box-shadow: inset ...
The box-shadow: inset code you included is what I want to happen for my text highlighting. How do I make that happen in Webflow? Do you have steps to do it there from the style panel rather than the code? (I’m not sure how to insert the code in Webflow).