Jump to content

How to add colour gradient to markdown block background

Recommended Posts

Hi, I am trying to add a gradient colour background to my markdown blocks. I have the main background green in place and have tried to add the gradient by changing the code to that below, but no gradient! Thanks.

 

.markdown-block {
    background: linear-gradient(to right,
      #d6e6db, #e2f3e8, #d6e6db);
}

Link to comment
  • Replies 1
  • Created
  • Last Reply

Archived

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.