I am attempting to achieve a similar effect to the right navigation on the following website:
Using jQuery to create the effect where the color expands from the center is what I am aiming for. However, since that particular site was built using Flash, I am unable to analyze how it was done. I am unsure of what exactly to search for. I was thinking of terms like 'background radial animation jquery' or 'background color animation from center jquery.'
I also considered trying a CSS3 ease-in effect like the one explained here (Expand background from center (CSS / Javascript)). The issue with this solution is that it only demonstrates the CSS3 transition working horizontally, while I require it to work vertically. I have experimented with the JSFiddle provided in the answer (http://jsfiddle.net/SNzgs/), but I can only manage to animate the transition downwards from the top, not expanding from the center. The code snippet they used is:
.redline {background:red;height:10px;width:0;margin:auto;}
.container:hover .redline {
width:200px;
-webkit-transition: all 0.3s ease-out;
transition:all 0.3s ease-out;
}
The code I experimented with is:
.redline {background:red;height:0px;width:10px;margin:auto;}
.container:hover .redline {
height:200px;
-webkit-transition: all 0.3s ease-out;
transition:all 0.3s ease-out;
}
Any assistance you can provide would be greatly appreciated!