1、写三角形
.tooltip:after {

content: '';

position: absolute;

border: 6px solid #5190ac;

border-color: #5190ac transparent transparent;

width: 0;

height: 0;

bottom: -12px;

left: 50%;

 margin-left: -6px;

}

 

 

2、写大于号

width: 12px;
height: 12px;
position: absolute;
border-left: 1px solid #FF7154;
border-bottom: 1px solid #FF7154;
-webkit-transform: translate(0,-50%) rotate(-135deg);
transform: translate(0,-50%) rotate(-135deg);
posted on 2017-02-16 15:05  仔仔爱学习  阅读(969)  评论(0编辑  收藏  举报