Jump to content

Prashita

Member
  • Posts

    1
  • Joined

  • Last visited

Everything posted by Prashita

  1. Hey guys, I am working on a blog and I wanted to have a custom underline when the text contains a link. I couldn't figure it out, so I would just make the words bold and use this CSS code for a custom underline when the text is bold. p strong {background: linear-gradient (to bottom, #fff 60%, #ffd600 20%); padding-left: 2px; padding-right: 2px; border: 1px; } However, I am getting this weird white line that I don't want. I want the upper part to be transparent, I just want the underline. What should I do? Is there any other way I can have a custom underline that looks like a highlighter.
×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.