网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
以下将#box的背景色设为灰色,且加5px的顶填充的写法,错误的是()。
- A、$(’#box’).css({’background’:’#ccc’,’padding-top’:’5px’})
- B、$(’#box’).css(’background’,’#ccc’).css(’paddingTop’,’5px’)
- C、$(’#box’).css(’background’:’#ccc’,’padding-top’:’5px’)
- D、$(’#box’).css({’background’:’#ccc’,’paddingTop’:’5px’})
参考答案
更多 “以下将#box的背景色设为灰色,且加5px的顶填充的写法,错误的是()。A、$(’#box’).css({’background’:’#ccc’,’padding-top’:’5px’})B、$(’#box’).css(’background’,’#ccc’).css(’paddingTop’,’5px’)C、$(’#box’).css(’background’:’#ccc’,’padding-top’:’5px’)D、$(’#box’).css({’background’:’#ccc’,’paddingTop’:’5px’})” 相关考题
考题
以下设置样式的写法,语法错误的是()。A、$(’body’).css({’padding-top’:’50px’})B、$(’body’).css(’padding-top’,’50px’)C、$(’body’).css({’padding-top’,’50px’})D、$(’body’).css(’padding-top’,0)
考题
用来设置背景图片的CSS基本标记是()。A、background-colorB、background-imageC、background-repeatD、background-position
考题
下面对于padding写法说法正确的是()。A、padding:5px 4px 3pxB、padding-top:3pxC、padding:5px 4pxD、padding-bottom:-10px;
考题
下列哪一项是css添加背景图片的正确语法构成()A、background-positionB、background-colorC、background-imageD、background-size
考题
Css样式background-position:5px 10px,代表的意义是()。A、背景图片向左偏移5px,向下偏移10pxB、背景图片向左偏移5px,向上偏移10pxC、背景图片向右偏移5px,向下偏移10pxD、背景图片向右偏移5px,向上偏移10px
考题
下列css属性中,用于指定背景图片的是()。A、background-imageB、background-colorC、background-positionD、background-repeat
考题
改变class不为demo的div元素的背景色,以下哪些写法是错误的?()A、$("div.demo").css("background","blue")B、$("div:not(.demo)").css({"background":"blue"})C、$("div:not(.demo)").css({"background","blue"})D、$("div:not(.demo)").css("background","blue")
考题
css中背景属性可以简写为background:;下列选项属于背景子属性的是()。A、背景色----background-colorB、背景图片----background-imageC、背景重复----background-repeatD、背景图片尺寸----background-size
考题
CSS样式background-position:-5px10px代表的意义是()。A、背景图片向左偏移5px,向下偏移10pxB、背景图片向左偏移5px,向上偏移10pxC、背景图片向右偏移5px,向下偏移10pxD、背景图片向右偏移5px,向上偏移10px
考题
You need to enhance performance of foreground and background applications. How can you configure Windows 2000 Professional to process both foreground and background applications at the same priority? ()A、By selecting the applications options in the performance options dialog box.B、By selecting the application services option in the performance options dialog box.C、By selecting the background option in the performance options dialog box.D、By selecting the background services option in the performance options dialog box.
考题
单选题Css样式background-position:5px 10px,代表的意义是()。A
背景图片向左偏移5px,向下偏移10pxB
背景图片向左偏移5px,向上偏移10pxC
背景图片向右偏移5px,向下偏移10pxD
背景图片向右偏移5px,向上偏移10px
考题
单选题以下将#box的背景色设为灰色,且加5px的顶填充的写法,错误的是()。A
$(’#box’).css({’background’:’#ccc’,’padding-top’:’5px’})B
$(’#box’).css(’background’,’#ccc’).css(’paddingTop’,’5px’)C
$(’#box’).css(’background’:’#ccc’,’padding-top’:’5px’)D
$(’#box’).css({’background’:’#ccc’,’paddingTop’:’5px’})
考题
多选题以下设置样式的写法,语法错误的是()。A$(’body’).css({’padding-top’:’50px’})B$(’body’).css(’padding-top’,’50px’)C$(’body’).css({’padding-top’,’50px’})D$(’body’).css(’padding-top’,0)
考题
单选题You need to enhance performance of foreground and background applications. How can you configure Windows 2000 Professional to process both foreground and background applications at the same priority? ()A
By selecting the applications options in the performance options dialog box.B
By selecting the application services option in the performance options dialog box.C
By selecting the background option in the performance options dialog box.D
By selecting the background services option in the performance options dialog box.
考题
多选题改变class不为demo的div元素的背景色,以下哪些写法是错误的?()A$(div.demo).css(background,blue)B$(div:not(.demo)).css({background:blue})C$(div:not(.demo)).css({background,blue})D$(div:not(.demo)).css(background,blue)
考题
多选题css中背景属性可以简写为background:;下列选项属于背景子属性的是()。A背景色----background-colorB背景图片----background-imageC背景重复----background-repeatD背景图片尺寸----background-size
热门标签
最新试卷