一個css transform效果,相容IE,FF,Chrome,Safari,不支援Opera

來源:互聯網
上載者:User

感覺很有圖片的感覺,所以放在這裡:

        pre {font-family:微軟雅黑;width:420px;border:3px solid red;/*for IE*/filter : progid:DXImageTransform.Microsoft.Matrix(SizingMethod="auto expand",M11=1,M12=-0.4,M21=0.4,M22=1);/*for firefox*/-moz-transform:translate(100px) rotate(35deg);-moz-transform-origin:40% 100%;/*for chrome,safari*/-webkit-transform:translate(100px) rotate(35deg);-webkit-transform-origin:40% 100%;}

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.