首页题目详情

在CSS中,如何设置元素的背景图重复方式为横向平铺?

题目配图
A.background-repeat: repeat-x
B.background-repeat: repeat-y
C.background-repeat: no-repeat
D.background-repeat: space

优质解答

答案

A

解析

background-repeat: repeat-x 用于设置背景图像在水平方向重复平铺。

查看答案和解析

支付 ¥0.1 即可查看此题答案和详细解析

低至 ¥0.1 起

Web程序设计单选题中等AI生成