css代码生成器version 3.0
css代码生成器正式版3.0
代码生成器测试文字效果
宽度 width:
auto
100px
200px
高度height:
auto
50px
100px
溢出overflow:
auto
hidden
scroll
visible
浮动float:
left
right
none
文本对齐text-align:
center
right
left
文字字体font-family:
\5B8B\4F53
\5FAE\8F6F\96C5\9ED1
\82F9\679C\4E3D\4E2D\9ED1
Arial
文字大小size:
12px
14px
16px
18px
24px
文字粗体font-weight:
normal
bold
文字行高line-height:
20px
24px
30px
文字颜色color:
#000000
#ff0000
#0000ff
背景特性background:
#ffffff
#999999
#000000
test.jpg
test.png
test.gif
文字边框border:
1px
2px
solid
dotted
dashed
#000000
#ff0000
#0000ff
分别设置边框border
上边框
---
:
1px
2px
solid
dotted
dashed
#000000
#ff0000
#0000ff
右边框 |:
1px
2px
solid
dotted
dashed
#000000
#ff0000
#0000ff
下边框
---
:
1px
2px
solid
dotted
dashed
#000000
#ff0000
#0000ff
左边框| :
1px
2px
solid
dotted
dashed
#000000
#ff0000
#0000ff
文字外边距margin:
0 auto
5px
10px
分别设置margin
外边距上
---
:
5px
10px
外边距右 |:
auto
5px
10px
外边距下
---
:
5px
10px
外边距左| :
auto
5px
10px
文字内边距padding:
5px
10px
分别设置padding
内边距上
---
:
5px
10px
内边距右 |:
5px
10px
内边距下
---
:
5px
10px
内边距左| :
5px
10px
定位position:
relative
absolute
fixed
定位left:
10px
20px
10%
-10px
定位top:
10px
20px
10%
-10px
定位right:
10px
20px
10%
-10px
定位bottom:
10px
20px
10%
-10px
css选择器名称
默认为空
id选择器默认为#myid
类选择器默认为.myclass
标签选择器默认为span
需要生成新的css?请点击