Set the background image position

div background image, or sub-element reference picture, its initial position is (0, 0), that is, the upper left corner.

BACKGROUND position setting, Example:

 .repair-list-bg-up{
            background: url("../images/shuxian.png") no-repeat ;
            background-size: .02rem 50%;
            background-position-x: .36rem;
            background-position-y:100%;
        }

 

Guess you like

Origin www.cnblogs.com/wanlibingfeng/p/11571567.html