I have the following jsfiddle. I'm trying to get the right hand side div to slide to where the left div is when a user clicks on any of the example links, i can't figure out how to do this as im fairly new to CSS3 transitions and jquery. Could someone help guide me in the right direction. I've had a look at jQuery animate too but find it a little confusing.
The transition should work in IE10+, anything below it's fine if it doesnt have a transition
Below is the structure of my HTML
<section id="modalwindow">
<div id="foodlist">
<div class="links">
<h1>Div 1</h1>
<ul>
<a href="#"><li>Example1 </li></a>
<li><a href="#">Example2</a></li>
<li><a href="#">Example3</a></li>
<li><a href="#">Example4</a></li>
<li><a href="#">Example5</a></li>
<li><a href="#">Example6</a></li>
<li><a href="#">Example7</a></li>
<li><a href="#">Example8</a></li>
</ul>
</div>
</div>
</section>
<section id="modalwindow">
<div id="food_details">
<div class="details">
<h1>Recipe</h1>
<ul>
<li>test </li>
<li>test</li>
<li>test</li>
</ul>
</div>
</div>
</section>