Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Code to add colour gradient background to markdown block


Aitch

Question

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 post
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

1 answer to this question

Recommended Posts

Create an account or sign in to comment

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


×
×
  • Create New...