87,910
社区成员
发帖
与我相关
我的任务
分享
<script>
$(document).ready(function () {
$(".aa").mouseover(function () {
$(this).css({ "color": "yellow", "font-size": "36px" });
});
});
</script>
<body>
<a href="http://www.163.com/" class="aa" >163</a>
<a href="https://www.baidu.com/" class="aa">baidu</a>
<a href="http://bbs.csdn.net" class="aa">csdn</a>
</body>
<a href="#" onmouseover="pp(this)">aaaaaaaaa</a>
<a href="#" onmouseover="pp(this)">bbbbbbbbb</a>
<script type="text/javascript">
function pp(t) {
t.style.color="yellow";
t.style.fontSize="36px"
}
</script>