[css] CSS Cascading Style Sheet 1

Table of contents

1. Introduction

1. Function

2. CSS grammar specification

3. CSS code style 

3.1 Style format writing

3.2 Style case 

3.3 Space specification 

 Second, the basic selector of CSS

1. The role of the selector

2. Selector classification 

2.1 Label selector 

2.2 Class selectors 

2.3id selector 

2.4 Wildcard selectors 

2.5 Summary of basic selectors 

 Three, css font properties

1. Font family 

2. Font size 

3. The thickness of the font 

 4. Text style

 5. Composite attributes of fonts

 6. Summary of font properties

4. CSS Text Properties 

1. Text color 

2. Align text 

 3. Decorate text

 4. Text indentation

5. Line spacing

6. Summary of text attributes 

 Five, css import method

1. Internal style sheet

2. Inline style sheets 

3. External style sheets

 4. Summary of css introduction methods


1. Introduction

1. Function

Usage scenario: beautify web pages, layout pages

 

 

2. CSS grammar specification

 

 demo:

3. CSS code style 

3.1 Style format writing

3.2 Style case 

3.3 Space specification 

 

 Second, the basic selector of CSS

1. The role of the selector

2. Selector classification 

2.1 Label selector 

  

 

 

2.2 Class selectors 

 

 ​​​​​​​

 "Web front-end development specification manual"

 

2.3id selector 

 

2.4 Wildcard selectors 

2.5 Summary of basic selectors 

 

 Three, css font properties

1. Font family 

2. Font size 

3. The thickness of the font 

 

 4. Text style

 5. Composite attributes of fonts

 

demo:

 6. Summary of font properties

4. CSS Text Properties 

1. Text color 

2. Align text 

 3. Decorate text

 4. Text indentation

 

5. Line spacing

6. Summary of text attributes 

 Five, css import method

1. Internal style sheet

2. Inline style sheets 

3. External style sheets

 4. Summary of css introduction methods

 

Guess you like

Origin blog.csdn.net/legend818/article/details/130482839