logo - 刷刷题
下载APP
【单选题】

In css, one of the codes is transition:2s; what does it mean? ( )

A.
The animation lasts for 2s.
B.
The animation begins to take effect after 2s.
C.
The animation skips the effect of the first 2s.
D.
The animation starts to pause at 2s.
举报
参考答案:
参考解析:
.
刷刷题刷刷变学霸
举一反三

【单选题】In css, you need to set the element to have a 3D attribute, the code is ( ), and it moves backward 100px along the Z axis. Which of the codes is correct? ( )

A.
transform-style:3d; transform:translateZ(100px)
B.
transform-style:preserve-3d; transform:translateZ(100px)
C.
transform-style3d; transform:translateZ(-100px)
D.
transform-style:preserve-3d; transform:translateZ(-100px)

【单选题】In css, the element whose class name is box needs to be rotated by 45deg in the page when the mouse passes by. Which of the following codes is correct? ( )

A.
.box:hover{transform:rotate(45deg)}
B.
.box:focus{transform:rotate(45deg)}
C.
.box:hover{transform:skew(45deg)}
D.
.box:focus{transform:skew(45deg)}

【单选题】Which of the following statements about transform-origin is incorrect? ( )

A.
The element rotates around the center whentransform-origin is not specified.
B.
The transform-origin propertyallows you to change thetransform location of the element.
C.
To rotate around the z axis by setting transform-origin property, you must first set transform-style:preserve-3d.
D.
The transform-origin property can set not only rotation but also movement.

【单选题】Which of the following statements about animation property is incorrect? ( )

A.
The animation-duration can be omitted when defining animation.
B.
The animation-duration is used to specify the time taken to complete animation, measured in seconds or milliseconds.
C.
The default value of animation-duration property is 0, if animation-duration is not defined, the animation will not be played.
D.
The animation-iteration-count specifies the number of times the animation should be played.

【单选题】Which of the following statements aboutwebpage animation is incorrect? ( )

A.
To create animation in css3, you need to use the @keyframes rules.
B.
When creating an animation in @keyframes, you shouldn't bind it to a selector.
C.
When using @keyframes, specify the change time by percentage, or use keywords "from" and "to", which are equivalent to 0% and 100%.
D.
0% is the beginning of animation and 100% is the completion of animation.

【单选题】Which of the following statements about animation property is correct? ( )

A.
The animation-timing-function specifies the speed curve of animation, its default value is linear, which means that the speed of animation is the same from beginning to end.
B.
The animation-duration specifies the seconds or milliseconds it takes for animation to complete a cycle, its default value is 0.
C.
The animation-iteration-count specifies the number of times the animation is played, its default value is infinite, which means playing animation infinitely.
D.
The animation-delay defaults to 0, which means animation is paused.

【单选题】Now, a cube with a side length of 300px is rotated around the center of the cube. Which of the following statements is correct? ( )

A.
transform-origin:50% 50% 50%;
B.
transform-origin:50% 50% -50%;
C.
transform-origin:50% 50% 150px;
D.
transform-origin:50% 50% -150px;