I've been attempting to get this to work, but I'm running into some difficulties. Here's the example I'm currently working on:
HTML:
<ul>
<li><img></li>
<li><img></li>
</ul>
CSS
ul{position:relative;margin:0;padding:0;position:relative}
li{width:100px;height:100px;list-style-type:none;float:left;margin:2px;border: 1px solid #000}
img{}
li:hover{width:150px;height:150px;}
Here is the JSFiddle link for reference: http://jsfiddle.net/qw2W4/2/
Is there a way to resize the li elements without affecting the other elements?
If possible, I would prefer to achieve this without using JavaScript.