Over a million developers have joined DZone.

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.

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;

Opinions expressed by DZone contributors are their own.


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.


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

{{ parent.tldr }}

{{ parent.urlSource.name }}