Skip to content

Style support

清沐 edited this page Mar 23, 2019 · 21 revisions

背景色(background)

CSS Value Example
background-color 十六进制:#FFFFFF、RGB:rgb(0,255,255)、常用背景色名称:green,推荐使用十六进制 style="background-color:#ABFF00"

边框(border)

CSS Value Example
border-top-style thin、dashed、medium、dotted、thick、double、hair、medium_dashed、dash_dot style="border-top-style:thin"
border-right-style thin、dashed、medium、dotted、thick、double、hair、medium_dashed、dash_dot style="border-top-style:thin"
border-bottom-style thin、dashed、medium、dotted、thick、double、hair、medium_dashed、dash_dot style="border-top-style:thin"
border-left-style thin、dashed、medium、dotted、thick、double、hair、medium_dashed、dash_dot style="border-top-style:thin"

字体(font)

CSS Value Example
color green style="color:green;"
font-size 数值:14px(只会截取数值) style="font-size:14px"
font-family Times New Roman(不支持备选字体) style="font-family:Times New Roman"
font-style italic style="font-style:italic"
font-weight bold style="font-weight:bold"

对齐方式(align)

CSS Value Example
text-align general,left,center,right,fill,justify,center_selection,distributed style="text-align:center"
vertical-align top,center,bottom,justify,distributed style="vertical-align:center"
Clone this wiki locally