将背景图像放在中心并向左和向右重复最后一个像素

use*_*914 7 css

我想将我的背景图像放在中心,只重复左边的最后一个左边的像素列,右边和最后一个像素的底部重复相同.所以,如果你缩小,你会看到这个

                 --------------   repeat last pixel of the right of the picture to the right  
                 |            |
                 |            | 
                 --------------      
                 ^ 
                 |
                 here repeat to the left the first pixels  to the left
Run Code Online (Sandbox Code Playgroud)

在图片下方,最低的像素行重复下来.

我希望你明白我的意思......

小须