for(let i=0;i<oA.length;i++){
oA[i].onmouseover=function(){
$(this).html(arr[i]);
}
oA[i].onmouseout=function(){
$(this).html(arr2[i]);
}
}
/* 以上代码可以实现效果 */
oA[i].onmouseover=function(){
$(this).html(arr[i]);
}
oA[i].onmouseout=function(){
$(this).html(arr2[i]);
}
}
/* 以上代码可以实现效果 */
2017-04-25
百度的jQuery:
<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
CSS3: background: -webkit-linear-gradient(bottom,rgba(127,255,0,0.2),rgba(0 ,205, 0, 1));
background: -o-linear-gradient(red,green);
background: -moz-linear-gradient(bottom,rgba(127,255,0,0.2),rgba(0, 205, 0 ,1));
background: linear-gradient(to bottom,rgba(127,255,0,0.2),rgba(0, 205 ,0 ,1));
background: -o-linear-gradient(red,green);
background: -moz-linear-gradient(bottom,rgba(127,255,0,0.2),rgba(0, 205, 0 ,1));
background: linear-gradient(to bottom,rgba(127,255,0,0.2),rgba(0, 205 ,0 ,1));
2017-04-09
其实可以 ul li:hover{background-color:#666; }
ul li:hover a{color: #fff;} 简单点
ul li:hover a{color: #fff;} 简单点
2017-04-07