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, Chrome works perfectly, however I do not know which syntax to use for the 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 change -webkit to -moz to see if it would work in Firefox but I did not succeed. I'm starting studies with CSS3, so any input is welcome. I thank the help of all.