200字范文,内容丰富有趣,生活中的好帮手!
200字范文 > 用CSS实现阴阳八卦图等图形【HTML】

用CSS实现阴阳八卦图等图形【HTML】

时间:2024-07-30 06:48:40

相关推荐

用CSS实现阴阳八卦图等图形【HTML】

web前端|html教程

css,八卦图,阴阳,图形

web前端-html教程

微擎源码安装在那个文件夹,如何完全卸载vscode,ubuntu开机usb,tomcat分隔日志,爬虫金鱼,php 访问类属性,绍兴seo优化哪家好,oa办公系统网站源码下载,织梦后台模板utf-8 免费lzw

CSS还是比较强大的,可以实现中国古典的“阴阳八卦图”等形状。

免流代理源码,vscode插件可以同步嘛,ubuntu程序下载,tomcat日志为0,爬虫本地文件,php md5sum,广州站外seo服务,web前端网站框架下载,dede会员空间模板lzw

正方形

oa系统源码是什么意思,vscode写yaml文件,ubuntu怎么编写,tomcat 的错误日志,baiduspider爬虫,php实现apk下载,南京seo有限公司,怎么一个个人博客网站源码下载,帝国安装电商模板lzw

#rectangle { width: 200px; height: 100px; backgrount-color: red; } #circle { width: 100px; height: 100px; -webkit-border-radius: 100px; -moz-border-radius: 100px; border-radius: 100px; background-color: red; }

椭圆

#triangle-up { width: 0; height: 0; border-left: 50px solid transparent; border-right: 50px solid transparent; border-bottom: 100px solid red; }

直角三角形

直角边left-top

#triangle-leftbottom { width: 0; height: 0; border-left: 100px solid red; border-top: 100px solid transparent; }

直角边right-top

#triangle-righttop { width: 0; height: 0; border-right: 100px solid red; border-top: 100px solid transparent; }

梯形

#parallelogram { width: 150px; height: 100px; -webkit-transform: skew(20deg); -moz-transform: skew(20deg); transform: skew(20deg); background: red; }

鸡蛋

#yin-yang { width: 96px; height: 48px; background: #eee; border-color: red; border-style: solid; border-width: 2px 2px 55px 2px; border-radius: 100%; position: relative; } #yin-yang:before { content: ""; position: absolute; top: 50%; left: 0; background: #eee; border: 18px solid red; border-radius: 100%; width: 12px; height: 12px; } #yin-yang:after { content: ""; position: absolute; top: 50%; left: 50%; background: red; border: 18px solid #eee; border-radius:100%; width: 12px; height: 12px; } 八卦图展示不出来,蛋疼,请下载HTML文件 /detail/huoyingfans/7455161或者 去 /articles/3736 查看

更多文章请参考:/user/FansUnion

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。