css:the style of border and list

一、The style of border

1.border默认会使用文本的颜色,宽度为3px;

2.圆角:border-radius支持ie9+
顺序:左上,右上,右下,左下
椭圆角:border-radius:10px/20px;

3.border-image:
border-image-source:url(border-image.png);
border-image-slice:40;
border-image-repeat:round;

二、The style of list

1.列表样式
list-style-type:用来设置链表项目的符号类型none/circle/square/decimal
list-style-position:设置项目符号是出现在列表内还是外outide/inside
list-type-image:为项目符号使用自定义图片

2.简写list-style:

3.管理列表计数:
html的start属性决定了计数从哪里开始 例<ol start=“4”>
html的reversed启动计数反转
html的value属性指定列表项数值
 

猜你喜欢

转载自blog.csdn.net/weixin_40522938/article/details/81942679
今日推荐