mfc 定时器绘制旋转六边形_css旋转做的六边形
发布日期:2021-08-19 23:49:39 浏览次数:15 分类:技术文章

本文共 662 字,大约阅读时间需要 2 分钟。

> li {

width: 75px;

height: 129px;

border: 1px solid #F29C83;

border-radius: 5px;

background-color: #fff;

position: relative;

&::before,

&::after {

content: '';

position: absolute;

top: 0;

left: 0;

width: 75px;

height: 129px;

border: 1px solid #F29C83;

border-left-color: transparent;

border-right-color: transparent;

border-radius: 3px;

background-color: #fff;

}

&::before {

transform: rotate(60deg);

}

&::after {

transform: rotate(120deg);

}

> p {

position: absolute;

z-index: 10;

top: 34px;

left: 27px;

font-size: 16px;

text-align: center;

color: #F39073;

margin-bottom: 6px;

}

> p:nth-of-type(2) {

top: 62px;

height: 28px;

left: 3px;

line-height: 28px;

}

}

}

转载地址:https://blog.csdn.net/weixin_31363715/article/details/112897792 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:labspec6教程_拉曼光谱的数据初步处理
下一篇:python百度unit_闲聊一下百度的Unit

发表评论

最新留言

很好
[***.229.124.182]2024年12月30日 09时51分23秒