您的位置首页生活百科

html,css ,这段的repeat-x什么意思?background:url(../images/bg.gif) repeat-x; }

html,css ,这段的repeat-x什么意思?background:url(../images/bg.gif) repeat-x; }

的有关信息介绍如下:

repeat-x是指背景图片横向铺满,简单点说,bg.gif会横向重复,一直到铺满容器,如下图:

html,css ,这段的repeat-x什么意思?background:url(../images/bg.gif) repeat-x; }

你可以使用no-repeat让背景图片不重复。

希望可以帮到你