.btn{ width:70px; height:22px; background:url(images/btn.png) -0px -0px;color:#ffffff; border:1px solid #DAEEF6;letter-spacing:2px;}
.btn:hover{ background-position:-0px -25px;color:#ffff00}
The above code
is valid in You can hover the mouse to change the background
It is indeed invalid in It cannot change color after mouseover and the border effect is not correct
Please help me modify it in and also change the background on hover
Change input to a and add display:block
What I need is a button, not a hyperlink~
I have solved it myself, thank you friends on the first floor for giving points