大学职业资格刷题搜题APP
下载APP
课程
题库模板
WORD模板下载
EXCEL模板下载
题库创建教程
创建题库
登录
logo - 刷刷题
创建自己的小题库
搜索
【单选题】

In css3, which of the following statements about the sibling selector is incorrect? ( )

A.
A sibling selector can select an element that follows another element, and both have the same parent element.
B.
Sibling selector only retrieves backward, not forward.
C.
Use "~" to represent ordinary sibling selectors.
D.
Use "+" to represent adjacent sibling selector to indicate all subsequent elements with the same parent element.
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
收藏 - 刷刷题收藏
举报
刷刷题
参考答案:
举一反三

【单选题】Which of the following statements about the following code iscorrect? ( ).box div[class*=s]{background: red }

A.
The background color ofthe first div with s in its class name in box is red.
B.
The background color of all the divs with s in their class names in box is red.
C.
The background color of the first div ending with s in its class name in box is red.
D.
The background color of all the divs ending with s in their class names in box is red.

【单选题】Which of the following codes can achieve the following effect? (The background color of all the divs starting with n in their class names in box is red.) ( )

A.
.box div[class^=n]{background:red}
B.
.box div[class*=n]{background:red}
C.
box div[class=n]{background:red}
D.
.box div[class$=n]{background:red}

【单选题】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 the following code iscorrect? ( ).box div[class*=s]{background: red }
A.
The background color ofthe first div with s in its class name in box is red.
B.
The background color of all the divs with s in their class names in box is red.
C.
The background color of the first div ending with s in its class name in box is red.
D.
The background color of all the divs ending with s in their class names in box is red.
【单选题】Which of the following codes can achieve the following effect? (The background color of all the divs starting with n in their class names in box is red.) ( )
A.
.box div[class^=n]{background:red}
B.
.box div[class*=n]{background:red}
C.
box div[class=n]{background:red}
D.
.box div[class$=n]{background:red}
【单选题】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)}
刷刷题-刷题-导入试题 - 刷刷题
参考解析:
题目纠错 0
发布
刷刷题-刷题-导入试题 - 刷刷题刷刷题-刷题-导入试题 - 刷刷题刷刷题-刷题-导入试题 - 刷刷题
刷刷题-刷题-导入试题 - 刷刷题
刷刷题-刷题-导入试题 - 刷刷题
刷刷题-单词鸭