问答详情
源自:5-13 按钮的向下向上三角形

三角形向左向右

.left{

     display: inline-block;

  width: 0;

  height: 0;

  margin-left: 2px;

  vertical-align: middle;

  border-right:4px solid;

  border-top: 4px solid transparent;

  border-bottom: 4px solid transparent;

}

.right{

     display: inline-block;

  width: 0;

  height: 0;

  margin-left: 2px;

  vertical-align: middle;

  border-left:4px solid;

  border-top: 4px solid transparent;

  border-bottom: 4px solid transparent;

}


提问者:qq_寤栦紵浼_0 2015-08-11 17:19

个回答

  • 幕布斯9088710
    2015-12-24 15:49:48

    或者:

    left== border: 4px solid transparent; border-right:4px solid;

    right==  border: 4px solid transparent; border-left:4px solid;


  • MK_无柄叶
    2015-12-24 15:47:15

    http://dev.yesky.com/89/33282589.shtml