是我的代码在悬停我想我刷新页面
<input type="button" class="refresh" value="refresh">
<style>
.refresh {
-moz-border-radius: 5px 5px 5px 5px;
background: none repeat scroll 0 0 green;
border: medium none navy;
padding: 5px 15px;
cursor:pointer; } .refresh:hover{background: none repeat scroll 0 0 red;} </style>
我想通过CSS刷新悬停我的网页。这可能吗?
我喜欢这个解决方案相比,jQuery的解决方案,因为它是一个非常简单的任务,其中没有真正需要的库... – Uooo