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

Accomplish a semicircle through CSS: the width of the element is 200px and the height is 100px, so which of the following codes is correct? ( )

A.
border-radius:50%
B.
border-radius:100px;
C.
border-radius:0 100px 50% 0;
D.
border-radius:100px 100px 0 0;
举报
参考答案:
参考解析:
.
刷刷题刷刷变学霸
举一反三

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

A.
Used to set the playing status of animation.
B.
Used to set the execution time of animation.
C.
Used to set whether the animation should be played in reverse in turn.
D.
Used to set how the animation completes a cycle.

【单选题】The code that prevents the text from wrapping is ( ).

A.
white-space: nowrap
B.
word-wrap: nowrap
C.
word-spacing: nowrap
D.
word-break: nowrap

【单选题】If you set transition:2s 1s for an element, which one is the correct statement about 2s and 1s? ( )

A.
2s is code delay time, 1s means meaningless.
B.
1s is code transition time, 2s represents delay time.
C.
2s is code transition time, 1s represents delay time.
D.
None of the above statements is correct.

【单选题】Set to move horizontally to the right by 100px, then which code is correct? ( )

A.
transform:translateY(100px)
B.
transform:translateY(-100px)
C.
transform:translateX(-100px)
D.
transform:translateX(100px)

【单选题】Please select an expression whose result is true. ( )

A.
null instanceof Object
B.
null === undefined
C.
null == undefined
D.
NaN == NaN

【单选题】Which of the following statements about variable declare in js is correct? ( )

A.
The var keyword cannot be omitted when js defines a variable, otherwise an error will be reported.
B.
Variable name cannot start with $.
C.
The declaration of a variable is represented by the keyword var, but it can also be omitted.
D.
Js variables are declared by var just like php variables.

【多选题】(Multiple-choice question) Which of the following statements about obtaining page elements are correct? ( )

A.
document.getElementById("a") means to obtain an element in the page by the id value "a".
B.
document.getElementsByName("na")means to obtain an element in the page by the name attribute value "na".
C.
document.getElementsByTagName("div") means to get all divs by tag name.
D.
The above statements are not correct.