<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>鼠标移上变颜色和椭圆</title>
</head>
<body>
<script type="text/javascript">
function myfovus(x) {
x.style.background="red";
x.style.borderRadius="50px";
}
</script>
<div style="width: 200px;height: 200px;border: 1px solid #000; background: pink;"
onmouseover="myfovus(this)">
</div>
</body>
</html>