您的位置:首页 > Web前端 > HTML5

html5放大缩小

2015-06-26 10:06 597 查看
<style>
div{
margin: 0 auto;
width:100px;
height:100px;
background:url(img/QQ20150606151652.jpg);
background-size: 75% 100%;
background-repeat:no-repeat ;
-webkit-transition:width 2s, height 2s, -webkit-transform 2s; /* Safari and Chrome */
}
div:hover{
width:500px;
height:500px;
/*-webkit-transform:rotate(180deg);*/ /* Safari and Chrome */}
.herd{
width: 50px;
height: 50px;
border: 1px;

}
</style>

<body>
<canvas class="herd"></canvas>
<div></div>
<!--<h1>Hello, world!</h1>-->
<script>

</script>
</body> 阅读更多
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: