title: How to change the border-top-color for apex:pageBlock in Salesforce
body: <p>I have two <code>&lt;apex:pageBlock&gt;</code> section in my visual force page.</p>
  
  <p>I have id mentioned for each of them.</p>
  
  <p>I want to override the color of the top border which comes when we use <code>&lt;apex:pageblock&gt;</code>.</p>
  
  <p>Please find attached the screenshot. I want the 2nd green color to be red whereas the 1st one to be green as it is.</p>
  
  <p>How can I do that? Please suggest a suitable way.</p>
  
  <p><a href="https://i.stack.imgur.com/KJlKo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KJlKo.png" alt="VF Page"></a></p>