Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Define CSS For Button When It Is Hovered

DZone's Guide to

Define CSS For Button When It Is Hovered

·
Free Resource
Following is a sample css that will be applied automatically when respective button gets hovered.


.CButton:hover
{
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;
}
Topics:

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}