CSS3 Online Test Questions part 3

13. The animation-timing-function property specifies the speed curve of the animation.

a. True
b. False

Answer: a. True

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


14. Which of the following is 3D transformation method?

a. rotateX()
b. rotateY()
c. rotateZ()
d. All of the above

Answer: d. All of the above

Explanation: CSS3 allows you to format your elements using 3D transformations. Following are the methods of 3D transformations,

- rotateX()
- rotateY()
- rotateZ()

The rotateX() method rotates an element around its X-axis at a given degree.

The rotateY() method rotates an element around its Y-axis at a given degree.

The rotateZ() method rotates an element around its Z-axis at a given degree.


15. The rotateZ() method rotates an element around its Y-axis at a given degree.

a. True
b. False

Answer: b. False

Explanation: The above statement is false. The rotateZ() method rotates an element around its Z-axis at a given degree.


16. Which of the following is not a 2D Transform Method?

a. skewX()
b. skewY()
c. rotateZ()
d. rotate()

Answer: c. rotateZ()

Explanation: The rotateZ() method is not a 2D Transform method. Following are the 2D transformation methods,

- translate()
- rotate()
- scale()
- skewX()
- skewY()
- matrix()


17. CSS3 gradients does not support transparency.

a. True
b. False

Answer: b. False

Explanation: The above statement is false. CSS3 gradients support transparency. The rgba() function is used to define the color stops to add transparency.


18. Which of the following is not a property of CSS3 gradient?

a. linear-gradient
d. radial-gradient
c. Linear
d. repeating-radial-gradient

Answer: c. Linear

Explanation: Linear is not a property of CSS3 gradient.