Advertisement
salmancreation

CSS linear-gradient() Function

Jul 10th, 2018
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.29 KB | None | 0 0
  1. Using CSS gradients
  2. CSS linear-gradient() Function
  3. .single-slider::before {
  4.   background: rgba(0, 0, 0, 0) linear-gradient(to top, #0575e6, #00f260) repeat scroll 0 0;
  5.   content: "";
  6.   height: 100%;
  7.   left: 0;
  8.   opacity: 0.8;
  9.   position: absolute;
  10.   top: 0;
  11.   width: 100%;
  12.   z-index: 1;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement