摘要:
阅读全文
摘要:
常用 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 阅读全文
摘要:
空格 < < > > 阅读全文
摘要:
常用 id选择器 类选择器 标签选择器 后代选择器:后代选择器作用于父元素下面的所有子元素 多元素选择器:选择多个元素的时侯,用逗号隔开 不常用 子代选择器:(>) 只能作用于子元素,不能作用于孙元素 > 相邻选择器:可以选择紧跟其后的相邻元素,注意:相邻选择器用+号来连接 属性选择器: E[att 阅读全文
摘要:
borderwidth 设置4边框的宽度 borderstyle设置4边框样式 none 无边框 solid 直线边框 dashed 虚线边框 dotted 点状边框 double 双线边框 bordercolor 设置边框颜色 border简写 border:1px solid red; b 阅读全文
摘要:
背景颜色 backgroundcolor 背景图片background‐image:url(图片路径) 背景重复background‐repeat:repeat‐x|repeat‐y|no‐repeat; 背景位置 background‐position:x y; /*xy分别代表x轴位置和y轴位 阅读全文
摘要:
text-align,横行排列,值:center 居中,left靠左,right 靠右 text-indent 首行缩进 text-decoration line-height 文本行高(只可以让一行文本居中) letter-spacing 字符间距 阅读全文
摘要:
fontweight:normal;normal(默认值)、bold(粗)、bolder(更粗)、lighter(更细) color 设置字体颜色 阅读全文
摘要:
阅读全文
摘要:
含有列表(ol li)的可用list 阅读全文