fix gradient on safari

This commit is contained in:
Lorin Werthen 2017-12-16 21:48:33 +01:00
parent 6701ed9ab7
commit e5f249940c
No known key found for this signature in database
GPG key ID: F11FFC921E0E08E0

View file

@ -106,7 +106,11 @@ $sel: '';
position: absolute;
bottom: 20px;
left: 0;
background: linear-gradient(to bottom, transparent, white);
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&0+0,1+100;White+to+Transparent */
background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
height: 100px;
width: 100%;
}