当前位置: 首页 > news >正文

做ppt找素材的网站百度新站关键词排名

做ppt找素材的网站,百度新站关键词排名,做网站的赢利点,网站初期内容css2d转换 1. 移动2. 旋转3. 缩放4. 组合转换5. 设置原点 1. 移动 translate() #xff1a;参照元素原位置#xff0c;在X轴和Y轴方向上移动。 htmlstyle.container1:hover {width: 200px;height: 200px;background-color: red;/* 在X轴方向移动50px */tra… css2d转换 1. 移动2. 旋转3. 缩放4. 组合转换5. 设置原点 1. 移动 translate() 参照元素原位置在X轴和Y轴方向上移动。 htmlstyle.container1:hover {width: 200px;height: 200px;background-color: red;/* 在X轴方向移动50px */transform: translateX(50px);}.container1 {width: 200px;height: 200px;background-color: red;}.container2:hover {width: 200px;height: 200px;background-color: green;/* 在Y轴方向移动50px */transform: translateY(50px);}.container2 {width: 200px;height: 200px;background-color: green;}.container3:hover {width: 200px;height: 200px;background-color: blue;/* 在Y轴方向移动50px */transform: translate(50px, 50px);}.container3 {width: 200px;height: 200px;background-color: blue;}/stylediv classcontainer1/divdiv classcontainer2/divdiv classcontainer3/div /html在设置移动量时除了用像素外还可以使用百分比。X轴上的百分比是相对于了自身元素的宽Y轴上的百分比是相对于自身元素的高。 2. 旋转 rotateZ()根据指定角度旋转元素。2D旋转就是绕着Z轴旋转。 htmlstyle.container1:hover {width: 200px;height: 200px;background-color: red;/* 旋转20deg */transform: rotateZ(20deg)}.container1 {width: 200px;height: 200px;background-color: red;}/stylediv classcontainer1/div /html3. 缩放 scale() 根据指定的倍数在X轴和Y轴缩放元素。 htmlstyle.container1:hover {width: 200px;height: 200px;background-color: red;/* X轴上缩小为原来的0.5倍 */transform: scaleX(0.5)}.container1 {width: 200px;height: 200px;background-color: red;}.container2:hover {width: 200px;height: 200px;background-color: green;/* Y轴上缩小为原来的0.5倍 */transform: scaleY(0.5)}.container2 {width: 200px;height: 200px;background-color: green;}.container3:hover {width: 200px;height: 200px;background-color: blue;/* 在X轴和Y轴上放大为原来的1.5倍 */transform: scale(1.5, 1.5)}.container3 {width: 200px;height: 200px;background-color: blue;}/stylediv classcontainer1/divdiv classcontainer2/divdiv classcontainer3/div /html4. 组合转换 htmlstyle.container1:hover {width: 200px;height: 200px;background-color: red;/* 先移动再旋转*//* 注意旋转后坐标系也会旋转 */transform: translate(50px, 50px) rotateZ(30deg);}.container1 {width: 200px;height: 200px;background-color: red;}/stylediv classcontainer1/div /html5. 设置原点 上述的变化都是基于默认的原点默认的原点是元素的中心点。 transform-origin 设置原点在X轴的位置和Y轴的位置。 htmlstyle.container1:hover {width: 200px;height: 200px;background-color: red;/* 旋转20deg */transform: rotateZ(20deg);/* 设置原点在元素的左上角元素绕着左上角旋转 */transform-origin: left top;}.container1 {width: 200px;height: 200px;background-color: red;}.container2:hover {width: 200px;height: 200px;background-color: green;/* 旋转20deg */transform: rotateZ(20deg);/* 设置原点在元素的左下角 */transform-origin: 0 200px;}.container2 {width: 200px;height: 200px;background-color: green;}.container3:hover {width: 200px;height: 200px;background-color: blue;/* 旋转20deg */transform: rotateZ(20deg);/* 设置原点在元素的中心点也是默认值 */transform-origin: 50% 50%;}.container3 {width: 200px;height: 200px;background-color: blue;}/stylediv classcontainer1/divdiv classcontainer2/divdiv classcontainer3/div /htmlps上述所有代码执行后需要鼠标悬停在元素上查看转换的效果。
http://www.pierceye.com/news/418807/

相关文章:

  • 商务网站是什么网站建设技术有哪些
  • 专门做团购的网站有哪些微信小程序开发者工具官网下载
  • 网站开发的项目需求山东省住房和城乡建设厅电话
  • 网站建设初期推广方式安徽网站建设价格
  • 淘宝购买网站建设工业皮带怎么做免费的网站
  • 华城建设集团有限公司官方网站嵌入式软件开发教程
  • 建设邮箱网站桔子建站官网
  • 电子商务网站模板xampp下安装wordpress
  • 可以做动图的视频网站校园网站建设的目的
  • 专业网站制作公司塞尼铁克dw网页设计作品简单
  • 福州做网站公司有哪些中小企业网站制作塞尼铁克
  • 公司网站 钓鱼网站网站建设实训报告的内容怎么写
  • 摄影网站建设内容硬件开发语言有哪些
  • 怎么在主机上的建设网站做网站后台需要写代码吗
  • 网站建设发信息wordpress 科技类主题
  • 一站式进货平台网站建设为什么做网站编辑
  • 免费建站哪家好网站商城建设合同免费下载
  • 网站开发filter北京互联网
  • 德州市市政工程建设总公司网站设计公司的运营模式
  • 网站源码怎么弄境外注册网站
  • 肥城网站建设视频解析接口网站怎么做
  • 深圳做互联网教网站公司五百亿网站建设
  • 如何建自己网站周口网站建设费用
  • 延安网站建设哪家专业网站建设的大功效
  • 做网站交互demo工具服务器中安装wordpress
  • 2017年网站建设市场分析2345浏览器官网网址
  • 超大型网站建设怎么打广告吸引客户
  • 阳泉 网站建设合作国际网站设计
  • 东莞网站优化快速排名wordpress自适应设置宽度
  • wordpress的站点地址怎么设置青岛seo网站建设