I'm looking to create a visually dynamic icon/image similar to mobile device notifications, but primarily for desktop use. This image will be positioned before some text. For instance:
https://i.sstatic.net/MHocy.pngSome Text
This design features two images: a telescope and a gear, as well as a variable number.
As someone who is new to CSS, I'm struggling with the placement of the gear in relation to the telescope and figuring out how to scale the gear based on the number (e.g., larger gear for 10,000 than for 3).
Additionally, this combination should scale properly across different screen sizes. How can I achieve this elegantly?
Here's a snippet of my HTML:
<div class="sidebar-item active">
<a href="#">
<img class="lab-image"/>
<span class="sidebar-item-title">Labs</span>
</a>
</div>
Currently, my lab-image only shows the telescope. What steps should I take next?