1 / 11

Mastering CSS3 Transformations - Comprehensive Guide

Learn how to utilize CSS3 transforms effectively with this detailed guide covering basic syntax, rules, and common parameters for animations and effects. Explore examples and best practices.

Télécharger la présentation

Mastering CSS3 Transformations - Comprehensive Guide

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CSS3

  2. Css基本书写 • 书写规范 –[内核]-[属性] transform:rotate(30deg); -ms-transform:rotate(30deg); /* IE 9 */ -moz-transform:rotate(30deg); /* Firefox */ -webkit-transform:rotate(30deg); /* Safari andChrome */ -o-transform:rotate(30deg); /* Opera */

  3. Css3 常用参数 • 动画 • -webkit-transition:2s; • -moz-transition:2s; • -o-transition:2s; • transition:2s;

  4. Css3 常用参数 • 变形 • -moz-transform:rotate(-360deg); • -webkit-transform:rotate(-360deg); • -o-transform:rotate(-360deg); • transform:rotate(-360deg);

  5. Css3 常用参数 • 变形坐标 • -moz-transform-origin:0% 0%; • -webkit-transform-origin:0% 0%; • -o-transform-origin:0% 0%; •  transform-origin (0px,0px)

  6. Css3 常用参数 • 圆角 • -moz-border-radius:10em; • -webkit-border-radius:10em; • border-radius:10em;

  7. Css3 常用参数 • 块倒影 • -moz-box-shadow:0px 2px 5px #333333; • -webkit-box-shadow:0px 2px 5px #333333; • box-shadow:0px 2px 5px #333333;

  8. Css3 常用参数 • 文本倒影 • text-shadow:2px 2px 5px #333333;

  9. Css3 常用参数 • 变形放大 • -moz-transform:scale(1.2); • -webkit-transform:scale(1.2); • -o-transform:scale(1.2); • transform:scale(1.2);

  10. 参考网址 • http://www.w3schools.com/css3/default.asp • http://www.css88.com/tool/css3Preview/Transform.html

  11. THX

More Related