- .bgimg{
- width: 100%;
- height: 95vh;
- margin: 0;
- padding: 0 .32rem;
- background-image: url('../image/ld.jpg');
- background-repeat: no-repeat;
- background-size: 100% 100%;
- position: relative;
- bottom: 0;
- left: 0;
- right: 0;
- }
来源: http://www.bubuko.com/infodetail-3438228.html