css 样式div 斜边

 

.triangle{
    width: 0;
    height: 0;
    margin-left: 160px;
    border-bottom: 40px solid #0059DF;
    border-left: 10px solid transparent;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

  

猜你喜欢

转载自www.cnblogs.com/yscec/p/12172522.html
今日推荐