<div class="fence2">
  </div>
* { margin: 0; padding: 0;}

.fence2 {
  margin: 0;
  height: 1000px;
  background: linear-gradient(
  to bottom,
  white,
  white 95%,
  #538c2b 5%,
  #538c2b
);
  background-size: 100% 15%;
}
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.