Let the total number of animals at the pet shop be represented as \( x \).
According to the information given, 25% of the animals are rabbits. This can be expressed as:
\[ 0.25x = 12 \]
To find \( x \), you can solve the equation:
\[ x = \frac{12}{0.25} \]
Calculating the right side:
\[ x = 12 \div 0.25 = 12 \times 4 = 48 \]
Therefore, the total number of animals at the pet shop is \( 48 \).
So the correct answer is 48.