页面倾斜效果
//在body上加上
style=”-o-transform: rotate(-1.5deg);-webkit-transform: rotate(-1.5deg);-moz-transform: rotate(-1.5deg);”
// 就可以了,rotate里面的值代表倾斜度,其他的可以自己测试一下..
//今天OSchina.net的首页也是采用这种技术
以上就是页面倾斜效果的内容,更多相关内容请关注PHP中文网(www.php.cn)!
Statement: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