I know this is a really old question, but due to it being interesting and also because I like this approach and used to wonder too, I will provide an answer.
So, let's start with the definition you have, $$\tan \theta=\frac{\sin \theta}{\cos \theta}$$
Thus, we have
$$\lim_{x \to 90°}{\frac{\sin x}{\cos x}}=\frac{\lim_{x \to 90°}{\sin x}}{\lim_{x \to 90°}{\cos x}}=\frac{1}{\lim_{x \to 0}{x}}$$
This obviously equals
$$\lim_{x \to 0}{\frac{1}{x}}\mbox{, and as you intuitively said this equals limit shows}\cos x \mbox{ "equals" } \frac{1}{0}.$$
Continuing on, we prove
$\frac{1}{0}$ is undefined.
First, we have:
$$\lim_{x \to 0^+}{\frac{1}{x}=+\infty}\mbox{, while}\lim_{x \to 0^-}{\frac{1}{x}=-\infty}$$
A number cannot be approaching 2 numbers simultaneously, so we usually consider
$\frac{1}{0}$, and consequently
$\tan 90°$ as undefined. (I honestly don't get why you said it's
$+\infty$ as even on the graph of
$\tan x$ it approaches both
$+\infty$ and
$-\infty$) .
Another way of defining tangent is
$$\tan x = \frac{\mbox{ opposite side }}{\mbox{ adjacent side }}\mbox{, which gives} \lim_{x \to \infty}{\tan x = \frac{1}{0}}\mbox{, and we can also proceed from there.}$$
Thanks!
P.S. I'm also relatively new to this topic, so please help edit my answer. Also, I just started learning
$\LaTeX$ a week ago, so I might be really bad haha :)