Home > Web Front-end > HTML Tutorial > css3实现的将页面倾斜一定的角度_html/css_WEB-ITnose

css3实现的将页面倾斜一定的角度_html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-24 11:30:36
Original
1650 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">body{  -webkit-transform:rotate(2deg);  -moz-transform:rotate(2deg);  -o-transform:rotate(2deg);  padding:50px;}</style></head><body>蚂蚁部落欢迎您</body></html>
Copy after login

 

上面代码实现了我们的要求,只要对transform属性比较属性,那实现起来就没有任何问题。

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

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

 

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