HI there,
I made the background in my top menu gradient within css:
.x-navbar {
margin-top: 0px;
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0.5+0,0.2+44,0.1+60,0.03+73,0.02+83,0.01+89,0+95,0+100 */
background: -moz-linear-gradient(top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 54%, rgba(0,0,0,0.1) 70%, rgba(0,0,0,0.03) 83%, rgba(0,0,0,0.02) 86%, rgba(0,0,0,0.01) 89%, rgba(0,0,0,0) 95%, rgba(0,0,0,0) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, rgba(0,0,0,0.7) 0%,rgba(0,0,0,0.3) 54%,rgba(0,0,0,0.1) 70%,rgba(0,0,0,0.03) 83%,rgba(0,0,0,0.02) 86%,rgba(0,0,0,0.01) 89%,rgba(0,0,0,0) 95%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%,rgba(0,0,0,0.3) 54%,rgba(0,0,0,0.1) 70%,rgba(0,0,0,0.03) 83%,rgba(0,0,0,0.02) 86%,rgba(0,0,0,0.01) 89%,rgba(0,0,0,0) 95%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
}
But when I scale down the browser window and the menu jumps to mobile or tablet version and I scroll down, then the gradient fills have of the page, so that everything seems to be dark.
How can the hight of the gradient stay the same in the mobile menu?
THanks for help,
Lars
