- 1、本文档共8页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
css的常用代码整理.doc
字体属性: font 大小 font-size: x-large; 特大 xx-small; 极小 一般中文用不到,只要用数值就可以,
单位:PX、PD样式 font-style: oblique; 偏斜体 italic; 斜体 normal; 正常 行高 line-height: normal; 正常 单位:PX、PD、EM粗细 font-weight: bold; 粗体 lighter; 细体 normal; 正常 变体 font-variant: small-caps; 小型大写字母 normal; 正常 大小写 text-transform: capitalize; 首字母大写 uppercase; 大写 lowercase; 小写
none; 无 修饰 text-decoration: underline; 下划线 overline; 上划线 line-through; 删除线
blink; 闪烁
常用字体: font-family Courier New, Courier, monospace, Times New Roman, Times, serif, Arial,
Helvetica, sans-serif, Verdana
背景属性: background 色彩 background-color: #FFFFFF; 图片 background-image: url ; 重复 background-repeat: no-repeat; 滚动 background-attachment: fixed; 固定 scroll; 滚动 位置 background-position: left; 水平 top 垂直 ;简写方法 background:#000 url .. repeat fixed left top; /*简写·这个在阅读代码中
经常出现,要认真的研究*/
区块属性: Block /*这个属性第一次认识,要多多研究*/字间距 letter-spacing: normal; 数值 /*这个属性似乎有用,多实践下*/对齐 text-align: justify; 两端对齐 left; 左对齐 right; 右对齐 center; 居中 缩进 text-indent: 数值px; 垂直对齐 vertical-align: baseline; 基线 sub; 下标 super; 下标 top; text-top;
middle; bottom; text-bottom;词间距word-spacing: normal; 数值空格white-space: pre; 保留 nowrap; 不换行
显示 display:block; 块 inline; 内嵌 list-item; 列表项 run-in; 追加部分
compact; 紧凑 marker; 标记 table; inline-table; table-raw-group; table-header-
group; table-footer-group; table-raw; table-column-group; table-column; table-cell;
table-caption; 表格标题 /*display 属性的了解很模糊*/
方框属性: Box width:; height:; float:; clear:both; margin:; padding:; 顺序:上右下左边框属性: Border border-style: dotted; 点线 dashed; 虚线 solid; double; 双线 groove; 槽线
ridge; 脊状 inset; 凹陷 outset;border-width:; 边框宽度border-color:#;
简写方法border:width style color; /*简写*/
列表属性: List-style 类型list-style-type: disc; 圆点 circle; 圆圈 square; 方块 decimal; 数字
lower-roman; 小罗码数字 upper-roman; lower-alpha; upper-alpha;位置list-style-position: outside; 外 inside;图像list-style-image: url .. ;定位属性: Position Position: absolute; rela
您可能关注的文档
- Very Good英语语法-词性详解二-动词.ppt
- Windows_Server_2003使用详解.doc
- 计算机复习基础讲义.doc
- 北京工商大学刘弓强老师——国际经济法考题及答案整理.pdf
- 北京市大兴区耕地整理潜力模糊评价研究.pdf
- 建筑专业英文笔记整理大全.doc
- 经行风疹块风热证辨证论治精编资料整理.pdf
- 初中化学知识点整理.doc
- 初中语文整理资料.doc
- 穿线整理复习.ppt
- 2019年北京四中初二(下)期中数学试卷及答案.pdf
- 2019年北京市西城外国语学校初二(下)期中数学试卷含答案.docx
- 2019年北京十五中初二(下)期中数学试卷及答案.docx
- 2019年北京一六一中学初二(下)期中数学试卷及答案.docx
- 2019年北京三十五中初二(下)期中数学试卷及答案.pdf
- 2019年北京海淀初二(下)期末数学试卷及答案.docx
- 2019年北大附中初二(下)期中数学试卷及答案.docx
- 2019年北京二十一世纪国际学校初二(下)期中数学试卷含答案.docx
- 2019年北京五十四中初二(下)期中数学试卷及答案.pdf
- 2019年北京海淀进修学校初二(下)期中数学试卷及答案.pdf
文档评论(0)