Css网页中属性的操作,缩放,旋转,图片倾斜

 使用HBuilder编写的

安卓混合开发第一周周考题

css网页中属性的操作,缩放,旋转,图片倾斜

 Css样式

@charset "utf-8";
/* CSS Document */
.d1{
    width:2400px;
    height:1100px;
    color:#FFF;
    background-image:url(../imgs/bg.jpg);}
.left{ width:1500px;height:1100px; float:left;  }
.right{ width:800px; height:1100px; float:right}
.phone{ margin:100px 110px}
table{margin:150px;}
.phone:hover{ transform:skew(0,25deg)}

h3:hover{
animation:aa 4s infinite;}
@-moz-keyframes aa
{
    0%{transform:rotate(0deg);}
    100%{transform:rotate(360deg);}
}
p{ font-size:48px;}
p:hover{ transform:scale(1.2); color:#0F9}
font{ font-weight:800}

Html代码

 <!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
<link rel="stylesheet" type="text/css" href="../style/style.css">
</head>

<body>
<div class="d1">
  <div class="left">
   <table width="1000" border="0" cellspacing="0" height="600px">
  <tr>
    <td><p><font>Blue App</font> Template</p></td>
  </tr>
  <tr>
    <td> <h3>One page Responsive HTML5 parallax<br> business landing page</h3></td>
  </tr>
  <tr>
    <td> <h4>Lorem ipsum dolor sit amet,
 consectetur adipisicing elit. Similique autem,<br>
 atque in voluptatibus repellat nostrum iusto
 architecto vel placeat<br> numquam omnis assumenda.</h4></td>
  </tr>
  <tr>
    <td><img src="../imgs/003.png"onMouseOver="this.src='../imgs/001.png'" onMouseOut="this.src='../imgs/003.png'"></td>
  </tr>
</table>

   
 
 
  </div>
  <div class="right">
     <img src="../imgs/phone.png" class="phone" width="500px" height="950px">
  </div>
</div>
</body>
</html>


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值