Hey there, I'm looking to make some changes to the UI of my game. I want to transform it from this: https://i.sstatic.net/iLpFY.jpg
To this (which is an edited version using paint.net of the previous image): https://i.sstatic.net/qudVm.jpg
<html>
<body>
<div id="hud">
<div style="border: 2px solid #000; border-radius: 3px; background-color: rgba(200, 200, 200, 0.40);"> <img src="https://i.imgur.com/7jElAfE.png"/> 0 </div>
<div style="border: 2px solid #000; border-radius: 3px; background-color: rgba(200, 200, 200, 0.40);"> <img src="https://i.imgur.com/7jElAfE.png"/> 100 500 000000 </div>
<div style="border: 2px solid #000; border-radius: 3px; background-color: rgba(200, 200, 200, 0.40);"> LSPD - Cadet de la police trop cool </div>
</div>
</body>
</html>
img {
vertical-align: middle;
}
#hud {
position: absolute;
font-family: 'Pricedown';
font-size: 25px;
color: #fff;
text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
text-align: center;
top: 35px;
right: 5px;
}
Would really appreciate some help. Thanks!