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

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

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