css-:after伪样式

.hot{
width: 100px;
height: 100px;
border: 1px solid red;
position:relative;
justify-content: ;
}
.hot:after{
content:'';
height:12px;
background-color:red;
bottom:0;
width:100%;
position:absolute;
left: 0;
}

上一篇:文本匹配-dssm


下一篇:leetcode hot 100-力扣200. 岛屿数量