大家,早安,
我正在尝试通过 id 为动态 href 提供一些样式...假设我想为我的“品牌”id 使用背景图像,我该如何挂钩呢?
谢谢。我知道这对某些人来说可能很明显。
<div id="slides">
<div class="slides-container">
<div class="slide">
<div class="hello">
<div class="topper">Move</div>
<div class="slab">your business forward</div></br>
<div class="paint"><a href="">see how we make it happen</a></div>
<img src="images/move.png" width="1024" height="682" id="Intro">
</div>
</div>
<div class="slide">
<div class="caption">Branding</div>
<div class="slideimage" id="Branding"><img src="images/surly.jpeg" width="1024" height="682" ></div>
</div>
<div class="slide">
<div class="caption">Web/Mobile</div>
<div class="slideimage" id="Web/Mobile"><img src="images/shot.jpg" width="1024" height="682"></div>
</div>
<div class="slide">
<div class="caption">Labs</div>
<div class="slideimage" id="Labs"><img src="images/affinity.jpeg" width="1024" height="685"></div>
</div>
<div class="slide">
<div class="caption">FEATURE PROJECT _CUSTOM TYPE style</div>
<div class="slideimage" id="featured"><img src="images/affinity.jpeg" width="1024" height="685"></div>
</div>
</div>