I have tried all kinds of things, but I am trying to basically this rectangle with a triangular side on the right. I am trying to get a drop shadow on it and also have a gradient on this. Does anybody know how I can get the gradient to show up properly on the right right side to match the rectangle? I am using border to create the triangle, which I feel like is one of the most common patterns for this.
Any suggestions would be welcomed. I have created a demo example on the right side.