1.文本属性文字font:font-size:字体大小font-family:字体font-weight:字体粗细font-style:字体样式(如:倾斜等)color:字体颜色line-height:居中段落:text-decoration:下划线text-indent:设置文本缩进text-align:设置对象内容对齐方式2.边框属性border-width:边框宽度border-style:
1.css概要css:级联样式表(Cascading Style Sheet)简称“CSS”,通常又称为“风格样式表(Style Sheet)”,它是用来进行网页风格设计的,展示web表现。web2.0发展如下:html->css1.0->xml(节点查找)->xhtml->css2.0css基本语法:选择器{ 属性值1:值1;属性值2:值2}注:css主要是由选择器和属性
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号