CSS3 Online Test Questions part 2

7. Which CSS3 method is used to increase or decrease the size of an element?

a. translate()
b. matrix()
c. rotate()
d. scale()

Answer: d. scale()

Explanation: In CSS3, the scale() method is used to increase or decrease the size of an element.


8. Which CSS3 method is used to moves an element from its current position?

a. translate()
b. rotate()
c. scale()
d. matrix()

Answer: a. translate()

Explanation: The translate() method is used to moves an element from its current position.


9. Which of the following method rotates an element clockwise or counter-clockwise according to a given degree?

a. translate()
b. rotate()
c. scale()
d. skewX()

Answer: b. rotate()

Explanation: The rotate() method rotates an element clockwise or counter-clockwise according to a given degree.


10. The transition-timing-function property specifies the speed curve of the transition effect.

a. True
b. False

Answer: a. True

Explanation: The above statement is true. The transition-timing-function property specifies the speed curve of the transition effect.


11. In CSS3, which of the following transition-timing-function property specifies a transition effect with the same speed from start to end?

a. linear
b. ease-in
c. ease-in-out
d. None of the above

Answer: a. linear

Explanation: In CSS3, linear property of transition-timing-function specifies a transition effect with the same speed from start to end.


12. Which of the following transition-timing-function property specifies a transition effect with a slow start and end?

a. linear
b. ease-in
c. ease-in-out
d. None of the above

Answer: c. ease-in-out

Explanation: The ease-in-out property of transition-timing-function specifies a transition effect with a slow start and end.