CSS fade layer on top ( read more )

0 votes
165 views
added Sep 8, 2017 in CSS by anonymous
.fade-top {
  opacity: 1;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,0.46) 8%,rgba(255,255,255,1) 40%,rgba(255,255,255,1) 99%);
  background: -webkit-linear-gradient(top,rgba(255,255,255,0) 0%,rgba(255,255,255,0.46) 8%,rgba(255,255,255,1) 40%,rgba(255,255,255,1) 99%);
  background: linear-gradient(to bottom,rgba(255,255,255,0) 0%,rgba(255,255,255,0.46) 8%,rgba(255,255,255,1) 40%,rgba(255,255,255,1) 99%);
}
lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...