
New Document <!----> #triangle-1{ width:0; height:0; border-left:50px solid transparent; border-right:50px solid transparent; border-bottom:100px solid red; } #triangle-2{ width:0; height:0; border-left:100px solid transparent; border-right:200px solid transparent; border-bottom:100px solid purple; position:absolute; left:150px; ; } #triangle-3{ width:0; height:0; border-top:50px solid transparent; border-bottom:50px solid transparent; border-right:100px solid red; position:absolute; left:300px; } #circle{ width:100px; height:100px; background:blue; -webkit-border-radius:50px; -moz-border-radius:50px; border-radius:50px; position:absolute; top:200px; } #tixing-1{ width:30px; height:0; border-left:50px solid transparent; border-right:50px solid transparent; border-bottom:100px solid gray; position:absolute; top:300px; left:200px; }以上就是详解css实现的各种形状的代码的详细内容,更多请关注创想鸟其它相关文章!
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 chuangxiangniao@163.com 举报,一经查实,本站将立刻删除。
发布者:程序猿,转转请注明出处:https://www.chuangxiangniao.com/p/1608330.html赞 (0)打赏微信扫一扫
支付宝扫一扫
CSS让英文单词的自动换行的方法介绍
上一篇
2025年12月23日 21:42:22
web前台css样式知识点详细介绍
下一篇
2025年12月23日 21:42:46
微信扫一扫
支付宝扫一扫