【发布时间】:2019-08-01 20:44:23
【问题描述】:
任何人都有这样的经验?在这里,我尝试使用 box-shadow,但结果与图像不相似。谢谢。
.ribbon{
width: 30px;
height: 60px;
background:#ebebeb;
display: flex;
justify-content: center;
align-items: flex-end;
padding-bottom: 10px;
font-size: 30px;
font-weight: 600;
box-shadow: 0px 3px 5px 0 rgba(0, 0, 0, 0.4);
}
<div class="ribbon">4</div>
【问题讨论】:
标签: html css css-shapes