所以我有一个带有 class="orientation"
的 css 样式的 div,它显示了一个非常具体的加载圈,我无法用图像重现。
我想使用同一个 div 和 class="orientation"
作为背景图片。
直到现在我都在使用:
<div style="width: 100%; height: 1000px; background-image: url('../images/divbg.png')">
但现在我想使用这样的东西:
<div style="width: 100%; height: 1000px; background-image: div('orientation')">
这在没有任何脚本的情况下是否可行?如何实现?