目前,我正在使用这段代码来调用静止图像背景,而不是在常规站点上播放的视频:
media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
html{
background: url('img/background.jpg') no-repeat center center fixed !important;
background-size: cover;
height: 100%;
}
}
我想为每个页面使用不同的图像,我该如何实现呢?
谢谢。