CCS绘制成的三角形箭头

css {

width: 0; height: 0;

border-left: 5px solid transparent; /* left arrow slant */

border-right: 5px solid transparent; /* right arrow slant */

border-bottom: 5px solid #2f2f2f; /* bottom, add background color here */

font-size: 0;

line-height: 0;

}

 

一直无法理解,然后知道自己尝试出来下图。

posted on 2015-10-05 12:22  loying  阅读(307)  评论(0编辑  收藏  举报

导航