'as if by magic' definitions:

Definition of 'as if by magic'

From: WordNet
adverb
In a magical manner; "it disappeared magically" [syn: magically, as if by magic]