I am in the process of creating a vertical navigation bar and I have the intention to include a cloud icon that is centered at the right border, positioned directly on the background line.
<nav>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
</ul>
<div class="cloud-icon">
<svg>...</svg>
</div>
</nav>
You can find an example of this implementation on this code-pen link. I would be grateful for any feedback as I have put significant effort into making it work.
Despite my attempts with flex-box, css-grid, and margins, I am facing challenges with positioning the element correctly on the right side and ensuring its responsiveness on mobile devices.