Step 4

On each rectangle, create a white-to-transparent gradient perpendicular to the long side. Feel free to experiment with the exact opacity amounts.

Step 5

Now, add a mask in the exact shape and size as the square you started out with (400px by 400 px square, 15 px corner radius.) to hide the overflow..

Step 6

Add a white inner shadow to create a soft border.