CSS-气泡(三角形的运用)

这一生的挚爱 提交于 2019-11-26 14:34:21

 

/* 三角形 */
.comment-body > div{
  position: relative;
  left:3.67vw;
    content: "";
    width: 0;
    height: 0;
    border-bottom: 0.6rem solid  rgb(238, 238, 238);
    border-right: 0.6rem solid transparent;
    border-top: 0.1rem solid transparent;
    border-left: 0.6rem solid transparent;
}

 

效果(矩形上面的小三角形):

 

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!