DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Define CSS For Button When It Is Hovered

  • submit to reddit
        Following is a sample css that will be applied automatically when respective button gets hovered.

cursor: pointer;
border: solid 0px #ff0000;
height: 58px;
width: 58px;
background: url("Images/buttonHover.png");
background-repeat: no-repeat;
background-position: top right;
background-color: transparent;