Masking Widgets

Hopefully this is the right place to post this…
I have a full screen menu widget that I’ve created and I want it to fade out at the top and at the bottom. For the life of me, I can’t quite figure out how to do that. Any help or pointing me in the right direction would be greatly appreciated.