边框
css | style | 备注 |
---|---|---|
b | border:1px solid red; | |
b-1px,s,red | border:1px solid red; | |
b-1px,d,red | border:1px dashed red; | |
b-1px,n,red | border:1px none red; | |
bs-s | border-style:solid; | |
bs-d | border-style:dashed; | |
bs-n | border-style:none; | |
bc-blue | border-color:blue; | |
bb-1px,s,red | border-top:1px solid red; | |
bb-1px,d,red | border-top:1px dashed red; | |
bb-1px,n,red | border-top:1px none red; | |
btc-red | border-top-color:red; | |
bts-s | border-top-style:solid; | |
bts-d | border-top-style:dashed; | |
bts-n | border-top-style:none; | |
btw-10 | border-top-width:10rpx; | |
btw-2px | border-top-width:2px; | |
bb-1px,s,red | border-bottom:1px solid red; | |
bb-1px,d,red | border-bottom:1px dashed red; | |
bb-1px,n,red | border-bottom:1px none red; | |
bbs-s | border-bottom-style:solid; | |
bbs-d | border-bottom-style:dashed; | |
bbs-n | border-bottom-style:none; | |
bbc-red | border-bottom-color:red; | |
bbw-10 | border-bottom-width:10rpx; | |
bbw-2px | border-bottom-width:2px; | |
bl-1px,s,red | border-left:1px solid red; | |
bl-1px,d,red | border-left:1px dashed red; | |
bl-1px,n,red | border-left:1px none red; | |
bls-s | border-left-style:solid; | |
bls-d | border-left-style:dashed; | |
bls-n | border-left-style:none; | |
blc-red | border-left-color:red; | |
blw-10 | border-left-width:10rpx; | |
blw-2px | border-left-width:2px; | |
br-1px,s,red | border-right:1px solid red; | |
br-1px,d,red | border-right:1px dashed red; | |
br-1px,n,red | border-right:1px none red; | |
brs-s | border-right-style:solid; | |
brs-d | border-right-style:dashed; | |
brs-n | border-right-style:none; | |
brc-blue | border-right-color :blue; | |
brw-10 | border-right-width:10rpx; | |
brw-2px | border-right-width:2px; | |
bw-10 | border-width:10rpx; | |
bw-2px | border-width:2px; |
radio
css | style | 备注 |
---|---|---|
r-10 | border-radius:10rpx; | |
r-10px | border-radius:10px; | |
r-100% | border-radius:100%; | |
r1-10 | border-top-left-radius:10rpx; | |
r2-10 | border-top-right-radius:10rpx; | |
r3-10 | border-bottom-left-radius:10rpx; | |
r4-10 | border-bottom-right-radius:10rpx; | |
... | urdl 方向可任意组合,请参考margin |