Define $C=\{\alpha:\alpha=|x|$ for some set $x$$\}$ as the class of all cardinals. ($|x|$ being the cardinality of the set $x$)
It will be enough to prove $C$ is a proper class by showing $On\subseteq C$
Since we can take it to be an established fact that $On$ is a proper class.
Let $\alpha \in On$. Assume $\alpha \notin C$
So $\neg\exists x \in V $(the universal class) such that $|x|=\alpha \implies$
So $\neg\exists x \in V $ st. $\alpha$ is the least ordinal such that $\alpha \approx x$
But it's trivially true that $\alpha \approx \alpha \in On \subseteq V$. So $\alpha \in V$. This would be a contradiction since we assumed there is no such set.
Therefore, $\alpha \in C \implies On\subseteq C$ and then $C$ is a proper class.
$\textbf{Edit:}$ As pointed out by Pedro, the initial assumption of $On\subseteq C$ is false. In fact, $C \subseteq On$ is true - since all cardinals are necessarily ordinals.