css样式实现小三角

.tangle{
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border: 1px solid #bc9a63;
    border-radius: 3px;
    background: white;
    transform: rotate(45deg);
    position: absolute;
    right: 6px;
    top: 29px;
    z-index: 10;
    border-color: #bc9a63 #ffffff #ffffff #bc9a63;
}
posted @ 2017-05-24 15:44  sakura-sakura  阅读(193)  评论(0编辑  收藏  举报