首页 > 代码库 > css3 transform
css3 transform
<!DOCTYPE html> <HTML> <HEAD> <TITLE> New Document </TITLE> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <style type="text/css"> div{ margin: 30px 0px 80px; width: 200px; height: 50px; font-size: 18px; font-weight: bold; background: none repeat scroll 0% 0% #DEE4EE; color: #305999; text-align: center; line-height: 50px; } .a1:hover{ transform: scale(0.5); } .a2{ transform: translate(40px,0px); } .a3{ transform:rotate(600deg); } .a4{ transform:skew(10deg,2deg); } .a5{ transform:matrix(1.678,-0.256,1.522,2.333,-51.533,-1.989); } .a6{ transform:rotate(45deg); transform-origin:10% 10%; } </style> <script type="text/javascript"></script> </HEAD> <BODY> <div class='a1'>transform scale缩小</div> <div class='a2'>transform translate:x,y方向移动</div> <div class='a3'>transform rotate :旋转</div> <div class='a4'>transform skew:斜切</div> <div class='a5'>transform matrix</div> <div style='border:1px solid #FF0000;'> <div class='a6'>transform origin</div> </div> </BODY> </HTML>
matrix
css3 transform
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。