In css style, the meaning of background-position:-10px 20px is ( )
A: The background
picture is offset by 10px to the left and 20px to the down
B: The background
picture is offset by 10px to the left and 20px to the top
C: The background
picture is offset by 10px to the right and 20px to the down
D: The background
picture is offset by 10px to the right and 20px to the upper
A: The background
picture is offset by 10px to the left and 20px to the down
B: The background
picture is offset by 10px to the left and 20px to the top
C: The background
picture is offset by 10px to the right and 20px to the down
D: The background
picture is offset by 10px to the right and 20px to the upper
举一反三
- ( )CSS属性能够设置盒模型的内边距为上侧10,下侧20,右侧30,左侧40(单位px)。 A: padding:10px 30px 20px 40px B: padding:10px 20px 30px 40px C: padding:10px 40px 20px 30px D: padding:40px 30px 20px 10px
- 有以下程序段:#include int main(){int x[ ] = {10, 20, 30}; int *px = x;printf("%d, ", ++*px); printf("%d, ", *px); px = x;printf("%d, ", (*px)++); printf("%d, ", *px); px = x;printf("%d, ", *px++); printf("%d, ", *px); px = x;printf("%d, ", *++px); printf("%d\n", *px);return 0;}程序运行后的输出结果是( ) A: 20, 10, 11, 10, 11, 10, 11, 10 B: 11, 11, 11, 12, 12, 20, 20, 20 C: 20, 10, 11, 20, 11, 12, 20, 20 D: 11, 11, 11, 12, 12, 13, 20, 20
- 有以下程序段:#include stdio.hint main(){int x[ ] = {10, 20, 30}; int *px = x;printf(%d, , ++*px); printf(%d, , *px); px = x;printf(%d, , (*px)++); printf(%d, , *px); px = x;printf(%d, , *px++); printf(%d, , *px); px = x;printf(%d, , *++px); printf(%d\n, *px);return 0;}程序运行后的输出结果是( )。 A: 11, 11, 11, 12, 12, 20, 20, 20 B: 20, 10, 11, 10, 11, 10, 11, 10 C: 11, 11, 11, 12, 12, 13, 20, 20 D: 20, 10, 11, 20, 11, 12, 20, 20
- 下列CSS样式能够设置盒模型的内边距为10、20、30、40(顺时针方向)的是 A: padding:10px 20px 30px 40px B: padding:10px 30px 20px 40px C: margin:10px 20px 30px 40px D: margin:10px 30px 20px 40px
- 下列哪个CSS属性能够设置盒模型的内边距为10、20、10、30(逆时针方向)() A: margin:10px20px10px30px; B: padding:10px20px10px30px; C: padding:10px 30px 10px 20px; D: margin:10px 30px 10px 20px;