How could i make the toggle transition look softer? I’m “toggling” 2 divs:
$(document).ready(function(){
var tweet = $("ul.tweets li");
tweet.hover(function(){
$(this).find('.a').toggle()
.end().find('.b').toggle();
});
});
this is the fiddle
You can use
.fadeToggle().Edit: If you absolutely position
.band relatively positionli, you only need to toggle.b:Working Demo: http://jsfiddle.net/kpNY4/8/
CSS: