摘要:
语法: box-shadow: h-shadow v-shadow blur spread color inset; @/* h-shadow X轴位移,指定阴影水平位移量 v-shadow Y轴位移,用来指定阴影垂直位移量 blur 阴影模糊半径阴影向外模糊的模糊范围 spread 阴影的尺寸 c
阅读全文
posted @ 2020-07-26 23:05
云梦曦
阅读(119)
推荐(0)
摘要:
padding-top 设置元素的上内边距 padding-right 设置元素的右内边距 padding-bottom 设置元素的下内边距 padding-left 设置元素的左内边距 padding 简写属性,设置所有内边距,且padding属性可以有一到四个值: 四个值:padding:上内边
阅读全文
posted @ 2020-07-24 22:02
云梦曦
阅读(399)
推荐(0)
摘要:
margin-top 设置元素的上外边距 margin-right 设置元素的右外边距 margin-bottom 设置元素的下外边距 margin-left 设置元素的左外边距 margin 简写属性,设置所有外边距,且margin属性可以有一到四个值: 四个值:margin:上外边距 右外边距
阅读全文
posted @ 2020-07-22 19:43
云梦曦
阅读(562)
推荐(0)
摘要:
border-color 设置边框颜色,也可为四个边分别设置颜色,如: border-top-color:上边框颜色 border-right-color:右边框颜色 border-bottom-color:下边框颜色 border-left-color:左边框颜色 border-width 设置边
阅读全文
posted @ 2020-07-20 21:26
云梦曦
阅读(237)
推荐(0)
摘要:
background属性 语法: background: 背景颜色 背景图像 背景定位 背景重复方式; background-color 背景颜色 背景颜色值:十六进制方法表示 background-image 背景图像 background-image:url(图片路径); background-
阅读全文
posted @ 2020-07-18 11:33
云梦曦
阅读(186)
推荐(0)
摘要:
值 说明 语法示例 none 无标记符号 list-style-type:none; disc 实心圆,默认类型 list-style-type:disc; circle 空心圆 list-style-type:circle; square 实心正方形 list-style-type:square;
阅读全文
posted @ 2020-07-16 19:57
云梦曦
阅读(2706)
推荐(0)
摘要:
语法: text-shadow : color x-offset y-offset blur-radius; color 阴影颜色 x-offset X轴位移,用来指定阴影水平位移量 y-offse Y轴位移,用来指定阴影垂直位移量 blur-radius 阴影模糊半径,代表阴影向外模糊的模糊范围
阅读全文
posted @ 2020-07-14 23:29
云梦曦
阅读(154)
推荐(0)
摘要:
color 设置文本颜色 color:#00C; text-align 设置元素水平对齐方式 text-align:right; text-indent 设置首行文本的缩进 text-indent:20px; line-height 设置文本的行高 line-height:25px; text-de
阅读全文
posted @ 2020-07-12 21:47
云梦曦
阅读(133)
推荐(0)
摘要:
font-family 设置字体类型 font-family:"隶书"; font-size 设置字体大小 font-size:12px; font-style 设置字体风格 font-style:italic; font-weight 设置字体的粗细 font-weight:bold; font-
阅读全文
posted @ 2020-07-10 22:06
云梦曦
阅读(210)
推荐(0)
摘要:
text 默认值。定义一个单行的文本字段 (默认宽度为20个字符) password 定义密码字段 (字段中的字符会被遮蔽) radio 定义单选按钮 checkbox 定义复选框 select 定义下拉框 button 定义可点击的按钮 textarea 定义多行文本域 file 定义文件选择字段
阅读全文
posted @ 2020-07-08 22:15
云梦曦
阅读(403)
推荐(0)