My Output is as such: As you can see, the gray pixel background in the content area starts after the cutty edges of my navigationbar.
https://i.sstatic.net/eUqqX.png
但我的要求是:
I want the navigation bar to be opaque. But should there be any transparent section in the navigation bar image, then the bottom gray pixel background image should be visible.
https://i.sstatic.net/iHjVg.jpg
如果背景图像可以一直缩到导航栏区域后面的顶端,那么我所假设的解决方案将是:如果导航栏图像具有透明度,那么像素背景将可见。
如果有人想达到这个目的,请提出建议。