一、让背景图片根据内容自适应 .container{ width: 100vw; min-height: 100vh; background-image: url('URL'); background-size: cover; /