0
I created the CSS code below in my web project, the goal is to leave the top menu bar with a gradient from black to transparent, in Chrome works perfectly, but I do not know what syntax to use for code to work in Firefox and IE.
.barra-menu{    
      background: -webkit-gradient(linear, left top, left bottom, from(#000), to(#000));
     -webkit-mask: -webkit-linear-gradient(black, transparent 0%, black);
     -webkit-mask: linear-gradient(black, transparent 100%, black);
     height: 18%;
     position: absolute;
     top:0%;
     width:100%; 
}      
I tried to replace -Webkit with -Moz to see if it would work in Firefox but it was not successful. I am starting the studies with CSS3, so any contribution is welcome. I appreciate the help of all.
http://www.w3.org/TR/css3-images/#gradients | http://www.colorzilla.com/gradient-editor/
– Renan Gomes