Jump to content

Highlighted Text - Custom CSS to go in the middle vs. from top or bottom

Recommended Posts

Hi Friends -
Is there a way to make a highlighted background go in the middle vs. from the top or bottom? I've yet to find something out there.
The code I've used is below and a pic of my header text so far.
h1 strong {background: linear-gradient(to BOTTOM, rgba(255,255,255,0) 50%, rgba(129, 216, 208,0.9) 50%);
Thank you in advance ❤
Link to comment
  • Replies 1
  • Views 273
  • Created
  • Last Reply


This topic is now archived and is closed to further replies.

  • 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.