Please help me modify the code_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:02:00
Original
1130 people have browsed it

.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


Reply to the discussion (solution)

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

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template