I got the following made within Illustrator, but I am trying to achieve the shadow effect which is on the picture to the right of the cellphone.
So far I have used the pen tool to outline where i want the shadow, and used the gradient tool with a transparent end.
However, the gradient starts at the top left, and then the gradient effect doens’t work.
How can I achieve the effect on the picture to the right, within Illustrator?
An easy way to do this is with a blend. What you do is copy your blue background and make it black or something like that. Now copy that shape, offset it diagonally and set the opacity to 0. Then apply a blend with the specified steps to something like 100. That should get you the effect you’re looking for.