您现在的位置是:网站首页> 编程资料编程资料

css画太极图(阴阳八卦)太极图谱解析软件 PDF版疯狂猜成语 太极图案上一个气字 答案是什么成语

2021-09-06 760人已围观

简介 css画太极图,样式很简单,大家看下面的代码吧


复制代码
代码如下:

#yin-yang {
width: 96px;
height: 48px;
background: #eee;
border-color: red;
border-style: solid;
border-width: 2px 2px 50px 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;
}

相关内容

-六神源码网