摘要: 阅读全文
posted @ 2018-09-29 11:07 6+0 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 常用 br div span h1-­h6 p img a ul li ol li dl dt dd table 表头 <caption></caption> 不常用 hr strong em fieldset legend ins del sup sub 阅读全文
posted @ 2018-09-29 11:06 6+0 阅读(119) 评论(0) 推荐(0) 编辑
摘要: &nbsp;空格 &lt < &gt > 阅读全文
posted @ 2018-09-29 10:58 6+0 阅读(68) 评论(0) 推荐(0) 编辑
摘要: 常用 id选择器 类选择器 标签选择器 后代选择器:后代选择器作用于父元素下面的所有子元素 多元素选择器:选择多个元素的时侯,用逗号隔开 不常用 子代选择器:(>) 只能作用于子元素,不能作用于孙元素 > 相邻选择器:可以选择紧跟其后的相邻元素,注意:相邻选择器用+号来连接 属性选择器: E[att 阅读全文
posted @ 2018-09-29 10:56 6+0 阅读(99) 评论(0) 推荐(0) 编辑
摘要: border­width 设置4边框的宽度 border­style设置4边框样式 none 无边框 solid 直线边框 dashed 虚线边框 dotted 点状边框 double 双线边框 border­color 设置边框颜色 border简写 border:1px solid red; b 阅读全文
posted @ 2018-09-29 10:34 6+0 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 背景颜色 background­color 背景图片background‐image:url(图片路径) 背景重复background‐repeat:repeat‐x|repeat‐y|no‐repeat; 背景位置 background‐position:x y; /*xy分别代表x轴位置和y轴位 阅读全文
posted @ 2018-09-29 10:29 6+0 阅读(112) 评论(0) 推荐(0) 编辑
摘要: text-­align,横行排列,值:center 居中,left靠左,right 靠右 text-­indent 首行缩进 text-decoration line­-height 文本行高(只可以让一行文本居中) letter-­spacing 字符间距 阅读全文
posted @ 2018-09-29 10:25 6+0 阅读(124) 评论(0) 推荐(0) 编辑
摘要: font­weight:normal;normal(默认值)、bold(粗)、bolder(更粗)、lighter(更细) color 设置字体颜色 阅读全文
posted @ 2018-09-29 10:19 6+0 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-09-29 10:16 6+0 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 含有列表(ol li)的可用list 阅读全文
posted @ 2018-09-29 09:56 6+0 阅读(196) 评论(0) 推荐(0) 编辑