老男人百科 > 百科 > 正文

css布局(css布局方式)

2023-04-28 07:11:48 阅读( 1266)

刚接触设计工作的朋友不得不使用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

猜你喜欢

Guessyoulike
xxx.com转到www.xxx.com的办法

xxx.com转到www.xxx.com的办法

hao333 3788次阅读2023-04-25 10:16
如何提高男性生育能力(男性如何提高性持久力)
安全期同房会怀孕吗(安全期同房无措施会怀孕吗几率多大)
精子畸形指数多少是正常(精子畸形指数多少是正常)
专题页