代码
.rightTriangle{
width: 20rpx;
height: 20rpx;
border-right: 1rpx solid #c3c3c3;
border-top: 1rpx solid #c3c3c3;
transform: rotate(45deg);
}
<View className="rightTriangle"></View>
效果图:
代码
.rightTriangle{
width: 20rpx;
height: 20rpx;
border-right: 1rpx solid #c3c3c3;
border-top: 1rpx solid #c3c3c3;
transform: rotate(45deg);
}
<View className="rightTriangle"></View>
效果图: