下列源代码用于设置一个<;div>;元素的样式。再增加( )就可以获得如下图像。 div { width: 100px; height: 100px; border-style: solid; border-width: 5px; }[img=110x110]17e443a8753385d.png[/img]
A: border-color: green blue orange red;
B: border-color: blue orange red green;
C: border-color: red green blue orange;
D: border-color: orange red green blue;
A: border-color: green blue orange red;
B: border-color: blue orange red green;
C: border-color: red green blue orange;
D: border-color: orange red green blue;
举一反三
- 在jQuery中,为div添加1px的红色实线边框,同时设置div中文字为蓝色,则下列代码正确的是( ) A: $("div").css({"border":"1px solid red";"color":"blue"}) B: $("div").css("border":"1px solid red","color":"blue") C: $("div").addCss({"border":"1px solid red","color":"blue"}) D: $("div").css({"border":"1px solid red","color":"blue"})
- 下列选项关于jQuery中设置类名为box的元素样式语法正确的是()。 A: $(".box").css("color","red";"border","1px<br/>solid blue"); B: $(".box").css({"color":"red","border":"1px<br/>solid blue"}); C: $(".box").style("color","red";"border","1px<br/>solid blue"); D: $(".box").style.color="red";
- 下列样式中能显示边框类型为SOLID,上边框红色,下边框蓝色,左边框黄色,右边框绿色的是( )。 A: order:solid;border-color: red green blue yellow B: order:solid;border-color: red blue yellow green C: order:solid;border-color: red blue green yellow D: order:solid;border-color: red yellow blue green
- 边框样式属性值设置不正确的是() A: li{border:1pxredsolid;width:220px;color:blue;} B: li{border-width:3px#00ff00;width:220px;color:blue;} C: li{border:2pxbluedashed;width:220px;color:blue;} D: li{border-style:1pxred;width:220px;color:blue;}
- Which color indicates the harmony between nature and human-beings? A: red and green or blue B: dark blue and yellow or brown C: blue and red or orange D: black and purple or pink