【发布时间】:2019-11-10 06:02:25
【问题描述】:
我正在尝试复制形状
当我在 CSS 中使用圆形时,它看起来有些不同:
.shape{
display: inline-block;
text-align: center;
line-height: 18px;
border-radius: 9px 9px 9px 9px;
color: #000000;
padding-left: 6px;
padding-right: 6px;
font-weight: bold;
font-family: sans-serif;
}
.shape.orange{
background-color: #FF931B;
}
<span class="shape orange">CC6</span>
我怎样才能得到正确的形状?
【问题讨论】:
标签: html css css-shapes