ScrollSticky

by bailey125_

HTML

<h4>TOP OF PAGE</h4>
<div class="columns">
  Fixed Column List Goes Here
</div>
<div class="extra"></div>
<br />
<div class="wrapper">
  <div class="sticky">
    LiveCycle
  </div>
</div>
<br />
<div class="wrapper">
  <div class="sticky">
    SRVESQL
  </div>
</div>
<br />
<div class="wrapper">
  <div class="sticky">
    TCHW2
  </div>
</div>
<br />
<div class="extra"></div>

CSS

.sticky {
  position: sticky;
  position: -webkit-sticky;
  background: #f83d23;
  width: 100px;
  height: 40px;
  top: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}
.columns {
  position: sticky;
  position: -webkit-sticky;
  width: 1000px;
  height: 100px;
  top: 0px;
  justify-content: center;
  align-items: center;
  background-color: #0000FF;
  color: #FFFFFF;
  font-size: 50px;
  margin: auto;
  z-index: 99;
  
}
.extra,
.wrapper {
  width: 75%;
  margin: auto;
  background-color: #ccc;
}
.wrapper {
  height: 800px;
}
.extra {
  height: 100px;
}
body {
  font-family: georgia;
  height: 4000px;
}
h4 {
  text-align: center;
}
@media (min-height: 768px) {
  .wrapper{
    height: 1000px;
  }
}