博客列表 >3.15作业

3.15作业

大熊的php博客
大熊的php博客原创
2018年03月16日 13:36:38496浏览
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>demo1</title>
<style type="text/css">
.p1{color:#363636;
       line-height: 1.5em;  /*行距1.5倍*/
       text-indent: 2em;  /*首位缩进两倍*/
        }
        .div1{
          width: 450px;
          height: 200px;
          /*border: 1px  solid red;*/
          padding: 15px;
          background-image: url(./images/a.jpg);
          background-size: 480px 310px;
          background-repeat: no-repeat;
          border-radius: 20px; 
          box-shadow: 5px 5px 8px #888;
          
        }
        </style>
</head>
        <script type="text/javascript">
   function change(elemenet){
    elemenet.style.fontSize='24px'
    elemenet.style.color='green'
   }
      function out(elemenet){
      
     elemenet.style.fontSize='24px'
    elemenet.style.color='red'
   }
        </script>
<body>
<div>
<h1 style="color:red;text-align: center;font-size:20px;" onmouseover="change(this)"  onmouseout="out(this)" >深度解读打工是不可能打工的</h1>
<p;>
“打工是不可能打工的,这辈子都不可能打工的!”</p>
<br>
<p;>解读:这句话体现出窃.格瓦拉作为一位无产阶级革命家,坚决与剥削劳苦大众的万恶的资本家划清界限,决定为革命事业奋斗终身的决心。</p>
</div>
</body>
</html>
声明:本文内容转载自脚本之家,由网友自发贡献,版权归原作者所有,如您发现涉嫌抄袭侵权,请联系admin@php.cn 核实处理。
全部评论
文明上网理性发言,请遵守新闻评论服务协议