小程式圖示庫----之用css畫對號和icon圖示
阿新 • • 發佈:2019-01-09
} *//*畫√ */ /* .test2 { display: inline-block; width: 6px; height: 3px; background:#fff; line-height: 0; font-size: 0; vertical-align: middle; -webkit-transform: rotate(45deg); position: relative; top: -73rpx; left:44rpx; } .test2:after { content: '/'; display: block; width: 12px; height: 3px; background:#fff; -webkit-transform: rotate(-90deg) translateY(-50%) translateX(50%);
<icon type="success" size="21" color="#d95155" />