I've been diving into the world of responsive design and media queries in an attempt to create containers that adjust to different viewport sizes. Within my navigation bar, there is a logo div and a floated list with a container.
The main issue I'm encountering occurs when the viewport width is less than 640px and then resized to more than 640px, causing the floated list to disappear - although refreshing the page resolves this. Still wrapping my head around media queries and how to effectively implement them on my site... any tips or suggestions would be greatly appreciated!
HTML
<div class="navigation">
<div class="container">
<div class="logo">
<img src="http://www.placehold.it/100x54"/>
</div>
<ul>
<li><a>Services</a></li>
<li><a>Work</a></li>
<li><a>Contact</a></li>
</ul><!--
--></div>
</div>
<div class="container">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</div>
CSS