<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>侯绍坤0315作业</title>
<style type="text/css">
div {
width: 400px;
height:300px;
padding: 15px;
border-radius: 15px;
box-shadow: 5px 5px 5px #888;
background-image: url(images/2.jpg);
background-size: 430px 330px;
background-repeat: no-repeat;
}
.text {
color:#363636;
text-indent: 2em;
line-height: 2em;
}
</style>
</head>
<body>
<div>
<h1 style="color: red; text-align: center; font-size: 25px;" onmouseover="change(this)" onmouseout="old(this)">情话有主</h1>
<p>
不指望想你的时刻都在,但是需要你的时候你不在,以后也不需要你了。<br>你一定要记得:别让一直温柔待你的人寒了心。<br>爱是原谅,不翻旧账。<br>愿你三冬暖,愿你春不寒,愿你天黑有灯,下雨有伞,愿你路上有良人相伴。<br>晚安。宝贝。
</p>
</div>
<script type="text/javascript">
function change(element) {
element.style.fontSize = '40px'
element.style.color = 'green'
}
function old(element) {
element.style.fontSize = '25px'
element.style.color = 'red'
}
</script>
</body>
</html>
http://www.job1.com/index3.html
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!