Are you first timer at lazacode.org? Why not join us and start exchange your programming knowledge with everyone. Register today!

CSS fade layer on top ( read more )

0 votes
42 views
added Sep 8, 2017 in CSS by theoh_lee Corporal (810 points)
.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%);
}

Please log in or register to response this reference.

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...