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

Write a selector to select element whose class name is "cons" in box, which of the following is incorrect? ( )

A.
.box div[class^=n]
B.
.box div[class*=n]
C.
.box div[class=cons]
D.
.box div[class$=s]
举报
参考答案:
参考解析:
.
刷刷题刷刷变学霸
举一反三

【单选题】Which selector has the highest priority? ( )

A.
Attribute selector
B.
Id selector
C.
Tag selector
D.
!important

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

A.
The transition attribute is used to set thetransition effect of a element.
B.
After transition-delay property is set to 0, the transition has no effect.
C.
We need to always specify the transition-duration property, otherwise the duration is 0, and the transition will have no effect.
D.
The transition-delay is used to define when the transition effect starts.

【单选题】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.