fading bottom image css

Solutions on MaxInterview for fading bottom image css by the best coders in the world

showing results for - "fading bottom image css"
Caterina
08 Aug 2020
1.image { position: relative; }
2.image img { display: block; position: relative; z-index: 1; width: 100%; }
3.image .fade { position: absolute; bottom: 0; width: 100%; height: 150px; z-index: 2; background: rgba(255, 255, 255, 0) linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 80%) repeat scroll 0 0;  }
4