CSS3实现的页面反转效果_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:30:35
Original
1040 people have browsed it

CSS3实现的页面反转效果:
页面反转效果在实际应用中不太常见,不过也并非没有,下面分享一段利用CSS3实现的此效果,寄希望能够给需要的朋友带来一定的帮助,代码如下:

 

<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="author" content="http://www.softwhy.com/" /><title>蚂蚁部落</title><style type="text/css">html{filter:fliph}body {  -webkit-transform:rotateY(180deg);  -moz-transform:skew(0deg, 180deg) scale(-1, 1);  -o-transform:skew(0deg, 180deg) scale(-1, 1);  transform:rotateY(180deg);}</style></head><body>蚂蚁部落欢迎您。</body></html>
Copy after login

 

以上代码实现了我们的要求,主要是使用了transform属性,具体可以参阅CSS的transform属性一章节。

原文地址是:http://www.softwhy.com/forum.php?mod=viewthread&tid=11856

更多内容可以参阅:http://www.softwhy.com/divcss/

 

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template