Skip to Content
0

How do I put a hover with a background-image in a ToggleButton

Jul 28, 2017 at 10:22 AM

34

avatar image
Former Member

I have put this in the CSS

.image_atras span {

background: url('images/btnAtras.jpg');

background-repeat: no-repeat;

width:30px;

height:28.5px;

margin-right: 10px;

float:right;

}

.image_atras span: hover {

background: url('images/btnAtras2.jpg');

background-repeat: no-repeat;

width:30px;

height:28.5px;

}

But when It hovers the image desappears and none image appears

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers