doc: update docs/css.md
This commit is contained in:
		
							
								
								
									
										100
									
								
								docs/css.md
									
									
									
									
									
								
							
							
						
						
									
										100
									
								
								docs/css.md
									
									
									
									
									
								
							@@ -1438,6 +1438,106 @@ body {
 | 
			
		||||
 | 
			
		||||
代替元素中任何属性中的值的任何部分
 | 
			
		||||
 | 
			
		||||
标签语义化
 | 
			
		||||
------
 | 
			
		||||
 | 
			
		||||
### 复杂布局
 | 
			
		||||
<!--rehype:wrap-class=row-span-2-->
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
╭┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╮
 | 
			
		||||
┆ <header>                                ┆
 | 
			
		||||
╰┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╯
 | 
			
		||||
╭┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╮
 | 
			
		||||
┆ <nav>                                   ┆
 | 
			
		||||
╰┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╯
 | 
			
		||||
╭┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╮
 | 
			
		||||
┆ <section>                               ┆
 | 
			
		||||
┆╭┈┈┈┈┈┈┈┈╮╭┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╮┆
 | 
			
		||||
┆┆<aside> ┆┆ <main>                      ┆┆
 | 
			
		||||
┆┆        ┆┆╭┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╮ ╭┈┈┈┈┈┈┈┈┈╮┆┆
 | 
			
		||||
┆┆        ┆┆┆  <article>    ┆ ┆ <aside> ┆┆┆
 | 
			
		||||
┆┆        ┆┆┆ ╭┈┈┈┈┈┈┈┈┈┈┈╮ ┆ ┆         ┆┆┆
 | 
			
		||||
┆┆        ┆┆┆ ┆ <header>  ┆ ┆ ┆         ┆┆┆
 | 
			
		||||
┆┆        ┆┆┆ ╰┈┈┈┈┈┈┈┈┈┈┈╯ ┆ ┆         ┆┆┆
 | 
			
		||||
┆┆        ┆┆┆ ╭┈┈┈┈┈┈┈┈┈┈┈╮ ┆ ┆         ┆┆┆
 | 
			
		||||
┆┆        ┆┆┆ ┆ <article> ┆ ┆ ┆         ┆┆┆
 | 
			
		||||
┆┆        ┆┆┆ ╰┈┈┈┈┈┈┈┈┈┈┈╯ ┆ ┆         ┆┆┆
 | 
			
		||||
┆┆        ┆┆┆ ╭┈┈┈┈┈┈┈┈┈┈┈╮ ┆ ┆         ┆┆┆
 | 
			
		||||
┆┆        ┆┆┆ ┆ <footer>  ┆ ┆ ┆         ┆┆┆
 | 
			
		||||
┆┆        ┆┆┆ ╰┈┈┈┈┈┈┈┈┈┈┈╯ ┆ ┆         ┆┆┆
 | 
			
		||||
┆┆        ┆┆╰┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╯ ╰┈┈┈┈┈┈┈┈┈╯┆┆
 | 
			
		||||
┆╰┈┈┈┈┈┈┈┈╯╰┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╯┆
 | 
			
		||||
╰┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╯
 | 
			
		||||
╭┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╮
 | 
			
		||||
┆ <footer>                                ┆
 | 
			
		||||
╰┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╯
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### 复杂布局
 | 
			
		||||
<!--rehype:wrap-class=row-span-2-->
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
╭┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╮
 | 
			
		||||
┆  <header>                           ┆
 | 
			
		||||
┆  ╭┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╮  ┆
 | 
			
		||||
┆  ┆  <nav>                        ┆  ┆
 | 
			
		||||
┆  ╰┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╯  ┆
 | 
			
		||||
╰┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╯
 | 
			
		||||
╭┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╮ 
 | 
			
		||||
┆  <main>                             ┆ 
 | 
			
		||||
┆ ╭┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╮ ╭┈┈┈┈┈┈┈┈┈┈┈╮  ┆ 
 | 
			
		||||
┆ ┆  <article>       ┆ ┆  <aside>  ┆  ┆ 
 | 
			
		||||
┆ ┆ ╭┈┈┈┈┈┈┈┈┈┈┈╮    ┆ ┆           ┆  ┆ 
 | 
			
		||||
┆ ┆ ┆ <header>  ┆    ┆ ┆           ┆  ┆ 
 | 
			
		||||
┆ ┆ ╰┈┈┈┈┈┈┈┈┈┈┈╯    ┆ ┆           ┆  ┆ 
 | 
			
		||||
┆ ┆ ╭┈┈┈┈┈┈┈┈┈┈┈╮    ┆ ┆           ┆  ┆ 
 | 
			
		||||
┆ ┆ ┆ <section> ┆    ┆ ┆           ┆  ┆ 
 | 
			
		||||
┆ ┆ ╰┈┈┈┈┈┈┈┈┈┈┈╯    ┆ ┆           ┆  ┆ 
 | 
			
		||||
┆ ┆ ╭┈┈┈┈┈┈┈┈┈┈┈╮    ┆ ┆           ┆  ┆ 
 | 
			
		||||
┆ ┆ ┆ <footer>  ┆    ┆ ┆           ┆  ┆ 
 | 
			
		||||
┆ ┆ ╰┈┈┈┈┈┈┈┈┈┈┈╯    ┆ ┆           ┆  ┆ 
 | 
			
		||||
┆ ╰┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╯ ╰┈┈┈┈┈┈┈┈┈┈┈╯  ┆ 
 | 
			
		||||
╰┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╯ 
 | 
			
		||||
╭┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╮
 | 
			
		||||
┆  <footer>                           ┆
 | 
			
		||||
╰┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╯
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### 区域语义化
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
╭┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╮ ╭┈┈┈┈┈┈┈┈┈┈┈╮
 | 
			
		||||
┆  <main>          ┆ ┆  <aside>  ┆
 | 
			
		||||
┆ ╭┈┈┈┈┈┈┈┈┈┈┈╮    ┆ ┆           ┆
 | 
			
		||||
┆ ┆ <header>  ┆    ┆ ┆           ┆
 | 
			
		||||
┆ ╰┈┈┈┈┈┈┈┈┈┈┈╯    ┆ ┆           ┆
 | 
			
		||||
┆ ╭┈┈┈┈┈┈┈┈┈┈┈╮    ┆ ┆           ┆
 | 
			
		||||
┆ ┆ <section> ┆    ┆ ┆           ┆
 | 
			
		||||
┆ ╰┈┈┈┈┈┈┈┈┈┈┈╯    ┆ ┆           ┆
 | 
			
		||||
┆ ╭┈┈┈┈┈┈┈┈┈┈┈╮    ┆ ┆           ┆
 | 
			
		||||
┆ ┆ <footer>  ┆    ┆ ┆           ┆
 | 
			
		||||
┆ ╰┈┈┈┈┈┈┈┈┈┈┈╯    ┆ ┆           ┆
 | 
			
		||||
╰┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╯ ╰┈┈┈┈┈┈┈┈┈┈┈╯
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### 页面头语义化
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
╭┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╮
 | 
			
		||||
┆  <header>                           ┆
 | 
			
		||||
┆  ╭┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╮  ┆
 | 
			
		||||
┆  ┆  <section>                    ┆  ┆
 | 
			
		||||
┆  ╰┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╯  ┆
 | 
			
		||||
┆  ╭┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╮ ╭┈┈┈┈┈┈┈┈┈╮  ┆
 | 
			
		||||
┆  ┆  <nav>            ┆ ┆ <aside> ┆  ┆
 | 
			
		||||
┆  ╰┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╯ ╰┈┈┈┈┈┈┈┈┈╯  ┆
 | 
			
		||||
┆  ╭┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╮  ┆
 | 
			
		||||
┆  ┆  <footer>                     ┆  ┆
 | 
			
		||||
┆  ╰┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╯  ┆
 | 
			
		||||
╰┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈╯
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
CSS 技巧
 | 
			
		||||
------------
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user