Updates
CSS only Logo rollover
How to make an "interactive logo" CSS (rollover) ?
Open your image editor and create your logo image something like:
*I have used a transparent background, in this case I added background image for visibility reasons, as logo is transparent.
The CSS code that makes this work is:
<style type="text/css">
#logo2 {width:300px;margin:0 auto;text-align:center;}
#logo2 a {
outline: none;/* get rid of dotted borders in FireFox */
text-indent: -5000px ;/* this moves the text outside of the screen area */
display:block;
width:295px;
height:115px;
background: transparent url("images/articles/logo_v2.png") 0 0 no-repeat;
text-decoration: none;
}
#logo2 a:hover {
background-position: 0 -115px;
}
</style>
HTML:
<div id="logo2"><a href="#nogo" title="Vision.To Design">Vision.To Design</a></div>
Live Demo:
This technique is same as Single image CSS rollover but this time background position "moves" vertically.
*Copyright: You may not copy, re-publish, sell, distribute this content, however you may link to this page.
Our goal is to provide a unique content for our website users , thank you.
Our goal is to provide a unique content for our website users , thank you.
Related Pages
Misc Links, Resources
Upperhost best web hostingHobby Projects
Under development:feedpixel.com - Feeding Your Pixels :-)
Sexy URL!
TAXI CMS Booking System
WebShop, Project Manager, Support System.
Recommended
- Consider Big John Design for your more difficult coding requirements. Accessibility is a given. Fast bug-busting a speciality.CSS Guru.
- DHTMLgoodies
- coder24.com



