In this paper, we provide a method to construct a continued-fraction approximation based upon a given asymptotic expansion. As applications of the method developed here, we establish several continued-fraction approximations for the gamma and the digamma (or psi) functions.