0
버튼을 클릭하면 : 활성 클래스가 활성화되고 세 번째 이미지 "클릭 상태"가 바뀌지 만 클릭을 취소하면 그 상태 시체의 다른 곳을 클릭 할 때까지 버튼에 머물러 있습니다. 클릭을 취소하면 버튼이 첫 번째 상태로 돌아갑니다.3 개의 상태 이미지 버튼을 클릭하고 클릭 취소하면
.button_friend {
width: 240px;
height: 35px;
}
.button_friend a {
width: 240px;
height: 35px;
background-position: left 0px;
background-image: url("../Images/btn_friend.png");
display: block; text-indent: -9999px;
margin: auto auto auto auto;
cursor: pointer;
outline: transparent solid 0px;
}
.button_friend a:hover {
background-position: left -36px;
}
.button_friend a:active {
background-position: left -73px;
}
이미지 :
jsFiddle 그것에 어떤 코드가 없다고http://screencast.com/t/QaayuIJx
문제를 재현하려면 jsfiddle을 만드시겠습니까? – mkk
http://jsfiddle.net/EuhAc/ –
어떤 브라우저를 사용하십니까? 당신 문제에서 그런 문제가있는 것 같지 않습니다. – vanErp