sheisarichman Posted August 12, 2022 Posted August 12, 2022 hi! ☻ so i made some custom css to create a text "highlight" effect on my newest project but you'll see from the picture that the "background" color is overlapping on the previous line of text. i know i need to maybe shorten the height of the actual highlight element but i'm kind of a noob with css. if you look at the second example i provided it looks perfect because the highlight goes BEHIND the second line of text and i love the look of the highlight kind of touching the next line of text {am i even making sense?!} any ideas?? here is the code i added for reference: h2 strong {background: linear-gradient(to bottom, #F7F7EF 60%, #E6F09D 40%);} h1 strong {background: linear-gradient(to bottom, #F7F7EF 60%, #FECF97 40%);} thanks in advance!
tuanphan Posted August 13, 2022 Posted August 13, 2022 Can you share link to page in screenshot? We can test code easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
sheisarichman Posted August 14, 2022 Author Posted August 14, 2022 Sent you the page via message! Ty.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment