I have two spans wrapped in a span and they both have tags within them. I tried the usual display: inline;
and other but they do not work.
<span id="items">
<span id="item"><figure><img src="assets/img/Pickaxe.png" alt="Pickaxe image" style="transform: rotate(50deg);"><figcaption>Mining</figcaption></figure></span>
<span id="item"><figure><img src="assets/img/hammer_anvil.png" alt="Anvil image"><figcaption>Crafting</figcaption></figure></span>
</span>
#item figure {
border: solid white;
width: 7%;
background-color: rgba(128, 128, 128, 0.932);
text-align: center;
margin-left: 10px;
}
#item figure:hover {
background-color: rgba(128, 128, 128, 0.466);
cursor: pointer;
}
#item figure img {
width: auto;
max-width: 100%;
}