Question: You want to take a block of type and animate it to a larger size with jQuery. The following HTML and JavaScript behaves strangely. What is the issue?
- jQuery does not support ems and will make the type 1 pixel larger instead of 1 em larger.
- jQuery cannot override CSS in a style attribute, so the font size will not change.
- The font size was set with a shorthand property, so jQuery will not animate the font size at all.
- The font size was set with a shorthand property, so jQuery will start the animation from 0 instead of from 1 em.
Answer: The correct answer of the above question is Option D:The font size was set with a shorthand property, so jQuery will start the animation from 0 instead of from 1 em.