It is said that 70 to 80 percentage of the end-user response time is spent on the front-end. A major portion of this time is exhausted on downloading all the external components in a web page including, stylesheet, images, scripts, flash etc. An extra HTTP request adds 200+ milliseconds to a page (worldwide average). Since most of today’s browsers limit about 3 or 4 parallel requests at a time, a page with so many external references can cause the requests to get queued up. This may eventually cause the page loading time to increase. In short, the fewer files the web browser has to fetch that much faster the site loads. It’s as simple as that.
CSS sprites can be termed as a method for reducing the number of image requests to a web page by combining multiple images into a single image, and display the desired segment using CSS background-image and background-position properites. Now that almost all major browsers started supporting CSS background-image and background-position properties, CSS sprites are getting more significance.
Here I am presenting a cool overlapped pure CSS menu created using CSS sprites. This is an initial draft version, so far I have checked it only in Firefox 3.5, IE 7, Chrome 3.0 & Opera 9.02 and it looks fine. If anyone of you finds any issues in any other browsers, please lemme know. Cool sprites is a pack of four different versions of the same menu. The photoshop source is also available for download, so that you can customize it as per your need. Since this menu is largely dependent on the background image, you need to customize the image to alter the link label, color, size etc.
1 2 3 4 5 6 7 8 9 | <div class="navi1"> <ul> <li class="sm1"><a href="#"></a></li> <li class="sm2"><a href="#"></a></li> <li class="sm3"><a href="#"></a></li> <li class="sm4"><a href="#"></a></li> <li class="sm5"><a href="#"></a></li> </ul> </div> |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | .navi1 { display:block; height:72px; margin:0 auto; position:relative; width:525px; } .navi1 ul { float:none; list-style-image:none; list-style-type:none; margin:3px 0; } .navi1 ul li { background-image:url(tab-1.png); background-repeat:no-repeat; float:left; height:72px; margin:0px; padding-top:5px; position:absolute; } .navi1 ul li a { display:block; height:100%; width:100%; } .navi1 ul li.sm1 { background-position:0 0; left:0px; width:125px; } .navi1 ul li.sm2 { background-position:-125px 0; left:100px; width:124px; } .navi1 ul li.sm3 { background-position:-249px 0; left:200px; width:124px; } .navi1 ul li.sm4 { background-position:-373px 0; left:300px; width:125px; } .navi1 ul li.sm5 { background-position:-498px 0; left:400px; width:126px; } .navi1 ul li:hover { z-index:1000; } .navi1 ul li.sm1:hover { background-position:0 -75px; } .navi1 ul li.sm2:hover { background-position:-125px -75px; } .navi1 ul li.sm3:hover { background-position:-249px -75px; } .navi1 ul li.sm4:hover { background-position:-373px -75px; } .navi1 ul li.sm5:hover { background-position:-498px -75px; } |
Dovwnload HTML, CSS, PNG files
![]()
You can use these menus for personal and commercial projects at free of charge. What I only expect in return is your comments and backlinks, if you like it. You are not allowed to sell or redistribute these menus anywhere else. If you like to share cool sprites please link to this article.
Do not provide the direct download link nor upload these menus onto other servers for your own share, without my permission. If you want to spread the words, just link to this article.

Cool Sprites – Free overlapped CSS menu using CSS Sprite by Deepu Balan is licensed under a Creative Commons Attribution 2.5 India License. Based on a work at deepubalan.com.
[...] This post was mentioned on Twitter by bdeepu, thedsign. thedsign said: RT @tweetmeme Cool Sprites – Free overlapped CSS menu using CSS Sprites http://goo.gl/fb/rmu9 #css #html #webdesign #freebies [...]
[...] Cool Sprites – Free overlapped CSS menu using CSS Sprites [...]
[...] the original post here: Cool Sprites – Free overlapped CSS menu using CSS Sprites @ Deepu … Share and [...]
[...] from: Cool Sprites – Free overlapped CSS menu using CSS Sprites @ Deepu … Share and [...]
Cool Sprites – Free overlapped CSS menu using CSS Sprites @ Deepu Balan – Scribblings of a cyber geek…
A cool free CSS navigation menu in overlapped style, created using CSS sprites. Pack contains four different versions of the menu including the photoshop source file. Check it out now……
[...] Cool Sprites – Free overlapped CSS menu using CSS Sprites [...]
[...] Cool Sprites – Free overlapped CSS menu using CSS Sprites [...]
Cool Sprites – Free overlapped CSS menu using CSS Sprites @ Deepu Balan – Scribblings of a cyber geek…
It is said that 70 to 80 percentage of the end-user response time is spent on the front-end. A major portion of this time is exhausted on downloading all the external components in a web page including, stylesheet, images, scripts, flash etc. An extra …
Cool Sprites – Free overlapped CSS menu using CSS Sprites @ Deepu Balan – Scribblings of a cyber geek…
Trackback from Servefault.com…
[...] Cool Sprites – Free overlapped CSS menu using CSS Sprites [...]
[...] Cool Overlapped Menu using Sprites [...]
[...] Cool Overlapped Menu using Sprites [...]
Free overlapped CSS menu using CSS Sprites…
Here I am presenting a cool overlapped pure CSS menu created using CSS sprites. This is an initial draft version, so far I have checked it only in Firefox 3.5, IE 7, Chrome 3.0 & Opera 9.02 and it looks fine….
[...] de ellas muy buenas como esta, esta o [...]
[...] Cool Overlapped Menu using Sprites [...]
[...] Cool Overlapped Menu using Sprites [...]
[...] Cool Overlapped Menu using Sprites [...]
[...] Cool Overlapped Menu using Sprites [...]
[...] Cool Overlapped Menu using Sprites [...]
[...] Cool Overlapped Menù utilizzando gli Sprites [...]
[...] CSS горизонтальное меню со спрайтами | Демо версия [...]
[...] ■Cool Overlapped Menu using Sprites 透明表現をCSS3で実現するテクニック。 [...]
[...] CSS 3 styling. These buttons looks good and uses no images at all! Very nice buttons for my taste!Overlapped CSS Menu – Create an affective and cool overlapped CSS 3 menus using CSS Sprites. Looks very good and [...]
[...] 5.Overapped sprite menu [...]
[...] Cool Overlapped Menu using Sprites [...]
[...] REFERENCIAS:DeepuBalan Vagabundia CompartirSubscribeBlinklistBloglinesBlogmarksDiggdel.icio.usFacebookFurlMa.gnoliaNewsVineRedditStumbleUponTechnorati [...]
Cool Sprites – Free overlapped CSS menu using CSS Sprites @ Deepu Balan – Scribblings of a cyber geek…
Ubercool overlapping css menu using sprites….
[...] 5. Overapped Sprite Menu [...]
[...] Cool Overlapped Menu using Sprites [...]
[...] Cool Overlapped Menu using Sprites [...]
[...] Overlapped CSS Menu – Create an affective and cool overlapped CSS 3 menus using CSS Sprites. Looks very good and works very cool! [...]
[...] Cool Overlapped Menu using Sprites Here you can learn how to create a cool overlapped pure CSS menu/button using CSS sprites. CSS sprites can be termed as a method for reducing the number of image requests to a web page by combining multiple images into a single image, and display the desired segment using CSS background-image and background-position properites. The photoshop source is also available for download, so that you can customize it as per your need. [...]
Monday, 18 January, 2010 at 20:23
I so love this – its simply beautiful ! Now you have given me a new homework assignment to keep me busy:D , but I love playing with code ( even if Im a newbie at everything ). I can say I enjoy code more than Design . I’m so addicted now
Thank you for this Deepu !
M.
Tuesday, 19 January, 2010 at 16:51
Awesome Effect! I love this too. Great job! good tut+
Tuesday, 19 January, 2010 at 21:45
Genius stuff! I love playing with CSS but could never make anything with my nav like you did.. gonna give this a try on my personal blog and tweak it..
Very good work.
Thursday, 21 January, 2010 at 19:23
very beaituful, thanks for share. how to integrate this in to wordpress?
Thursday, 21 January, 2010 at 21:00
@joyoge Thanks a lot.
Do lemme know if there are any issues while doing this.
This can be integrated to wordpress mannually by simply adding the html code to the theme file (ie: header.php) and then paste the curresponding CSS code to the theme CSS file. You also need to copy the curresponding image to the images folder. Thats all.
-Deepu
Friday, 22 January, 2010 at 2:24
@Deepu thank you..
Friday, 22 January, 2010 at 8:53
I have to say, CSS sprite based menus are far from a new thing to me(and the pain you noted about changing the labels) however your implementation is great.
I can honestly say I’ve never tried using absolute positioning to overlap the elements like you have, but I love the effect.
Thanks for sharing your method
Friday, 22 January, 2010 at 12:55
Nice work and in the same time very useful tips. Can’t wait to use it in one of my projects. Keep up the good work!
Wednesday, 27 January, 2010 at 3:14
very beautiful
thanks
Saturday, 30 January, 2010 at 15:26
Keep posting stuff like this i really like it
Monday, 15 February, 2010 at 21:41
hi there, thanks for sharing this cool sprites
Tuesday, 16 February, 2010 at 23:34
this is an amazing menu! Thanks for sharing!!
Wednesday, 17 February, 2010 at 12:18
Your website don’t work properly in IE6 and the menu also has severe weaknesses as concerns png view. I was searching for this same sprite overlapped menu for compliance but realise it =don’[t work in IE6, though not so used but the task assigned required it to chek for all browsers compatibility
Wednesday, 17 February, 2010 at 13:13
@ All
Thank you for your inspiring comments, I am really glad that you all liked it.
@ Dan
Yeah I know there are some look n feel issues when my blog is browsed through IE6. Since my blog’s browser statistics shows only 0.6% visits through IE6 till date, I prefer not to bother much about that fast dying browser. Even giants like Google and Facebook already stopped supporting IE-6 and a country like UK started thinking about imposing a ban on IE6.
In-fact Its purely a personal choice to support or not support IE6, by considering all aspects like your target audience, visitor’s browser statistics etc…
BTW Thanks for dropping by
Saturday, 6 March, 2010 at 17:23
Cool one. Have to play around with this
Thursday, 18 March, 2010 at 16:16
Woooow! Wonderful! i like it.
Saturday, 24 April, 2010 at 18:37
Nice ressource, thank you!
Wednesday, 28 April, 2010 at 0:37
Pretty sweet menus. Keep up the great work!
Saturday, 29 May, 2010 at 20:52
Keep posting stuff like this i really like it
Sunday, 30 May, 2010 at 14:21
This is an incredible post. Its amazing to see what CSS3 can do , at the same time its sad a lot of customers still want IE support which sucks at CSS3 big time.
I am taking the liberty of adding this article to my CSS aggregator site. Hope you dont mind.