Submit your widget

Cool jQuery and css3 Circle slideshow Effect

Created 7 years ago   Views 57417   downloads 10589    Author tympanus
Cool jQuery and css3 Circle slideshow Effect
View DemoDownload 288.5 KB
Share |

this is a beautiful hover effect for an image navigation using CSS3. The idea is to expand a circular navigation with an arrow and make a bubble with a thumbnail appear. In this example  will be showing the thumbnail of the next and previous slider image on hovering the arrows. The effect is done with CSS3 transitions.

The Markup

For this little CSS3 effect we will have a navigation structure that looks like the following:

<div class="cn-nav">
	<a href="#" class="cn-nav-prev">
		<div style="background-image:url(../images/thumbs/1.jpg);"></div>
	<a href="#" class="cn-nav-next">
		<div style="background-image:url(../images/thumbs/3.jpg);"></div>


Let’s see now, how to add the style for this navigation.
Assuming that we have some relative surrounding container, we will set the link elements’ position to absolute. The height and width will be 70 pixels so that we have a not too small area for the hover effect:

.cn-nav > a{
    position: absolute;
    top: 0px;
    height: 70px;
    width: 70px;
    left: 0px;
    right: 0px;

The span element, which will contain the arrows as a background image will have an initial height and width of 46 pixel. In order to make it look like a circle, we need to set the border radius to half of its width/height. With the 50% and negative margin trick, we set it into the center of the link element. Then we define the transition which will take all properties into account with a duration of 400ms and with ease as the easing function:

Read more: