For these nails you don't need to pay lots of money or go to a beauty salon where they can do such lovely things to your nails. It is very easily done home - Do it yourself- nail tutorial.
First of all, paint your nails with a black nail polish. Let it dry, then, apply your glitter at the edges of your nails. When you are done with that, let it all dry, then apply a topcoat. This will prevent your nail polish to fall early.