<view class="demo"></view>
.demo{
width: 600rpx;
height: 300rpx;
border: 2rpx dashed transparent;
background: linear-gradient(white,white) padding-box,repeating-linear-gradient(-45deg,red 0, red 25rpx,white 0,white 45rpx);
}
点線の長方形
おすすめ
転載: blog.csdn.net/qq_32184753/article/details/117296769
おすすめ
ランキング