Home >Web Front-end >HTML Tutorial >CSS3实现的平行四边形代码实例_html/css_WEB-ITnose

CSS3实现的平行四边形代码实例_html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-24 11:27:311476browse

CSS3实现的平行四边形代码实例:
本章节分享一段代码实例,它实现了平行四边形效果。
代码如下:

<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="author" content="http://www.softwhy.com/" /><title>蚂蚁部落</title><style>.antzone{  width:100px;  height:70px;  -webkit-transform:skew(-20deg);  -moz-transform:skew(-20deg);  -o-transform:skew(-20deg);  -ms-transform:skew(-20deg);  transform:skew(-20deg);  background:#E5C3B2;}</style></head><body><div class="antzone"></div></body></html>

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

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

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