<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>向日葵</title>
<style type="text/css">
.div{
width: 800px;
height: 300px;
padding: 30px;
background-image: url(images/3.15.jpg);
background-size: 860px 360px;
background-repeat: no-repeat;
border-radius: 30px;
box-shadow: 6px 6px 6px #888;
}
.p{
color: blue;
line-height: 1.5em;
text-indent: 2em;
}
</style>
</head>
<body>
<div class="div">
<h3 style="color:red;text-align:center;font-size: 30px;" onmouseover="change(this)" onmouseout="old(this)">向日葵</h3>
<p class="p">向日葵,因花序随太阳转动而得名。其具有向光性,人们称它为太阳花,随太阳回绕的花。在古代的印加帝国,向日葵是太阳神的象征。<br>因此向日葵的花语是太阳。</p>
</div>
<script type="text/javascript">
function change(mouse) {
mouse.style.fontSize = '35px';
mouse.style.color = 'blue';
}
function old(mouse) {
mouse.style.fontSize = '30px';
mouse.style.color = 'red';
}
</script>
</body>
</html>