app教程网 学习教程 css布局常见问题(css基本布局)

css布局常见问题(css基本布局)

刚接触设计工作的朋友不得不用CSS。本文简单介绍了使用CSS时经常用到的一些属性的用法信息,希望对你有所帮助。

1.可配置的CSS属性包括:字体属性、文本属性、颜色和背景属性、边框属性、容器属性(边距属性、填充属性)、分类属性和鼠标属性。

二、基本属性

Font attribute: font-family font style font variation font thickness font size

Text properties: word spacing, letter spacing, text-decorative vertically aligned text-conversion

text-align text-indent line-height

Color background attribute: color background (background-color background-image background-repetition

background-attachment background-position)

Border attribute: border (border-top border-right border-bottom border-left border) (border-width)

border-style border-color)

Container Properties: Blank Fill Width Height Floating Clear

Classification attribute: display blank list style type list style image list style position.

list-style

Mouse properties: Auto Crosshair Default Manual Move e- Resize ne- Resize NW- Resize n- Resize se- Resize

sw-resize s-resize w-resize text wait help

第三,CSS布局

对CSS盒子模型的理解对CSS布局很有帮助,每个元素都有一个元素盒子。HTML布局通常使用div CSS,将网页分成许多方块,每个方块和整个种群可以被一个div容纳。

Then use Cast Semi-Steel to lay out the differences. Common layout attributes include: margin padding floating clearing top right bottom left Z index position

本文来自网络,不代表本站立场,转载请注明出处:https: