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

To specify the drawing area of background to the content box, which value of the background-clip attribute should be used? ( )

A.
content-box
B.
border-box
C.
padding-box
D.
none-box
举报
参考答案:
参考解析:
.
刷刷题刷刷变学霸
举一反三

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

A.
The <polyline> is used to draw polylines.
B.
The <polygon> is used to draw a polygon.
C.
The <ellipse> is used to draw a circle.
D.
The <rect> is used to draw a rectangle.

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

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