doc: update css.md.
				
					
				
			This commit is contained in:
		@@ -19,6 +19,7 @@ Quick Reference
 | 
			
		||||
坑已挖,需要您的参与完善和贡献!🙏
 | 
			
		||||
<!--rehype:style=padding-bottom: 23px;-->
 | 
			
		||||
 | 
			
		||||
[Ansible](./docs/ansible.md)<!--rehype:style=background: rgb(238 0 0/var(\-\-bg\-opacity));&class=contributing tag&data-lang=RedHad&data-info=👆看看还缺点儿什么?-->
 | 
			
		||||
[CMake](./docs/cmake.md)<!--rehype:style=background: rgb(92 107 192/var(\-\-bg\-opacity));&class=contributing-->
 | 
			
		||||
[Django](./docs/djiango.md)<!--rehype:style=background: rgb(12 75 51/var(\-\-bg\-opacity));&class=contributing tag&data-lang=Python-->
 | 
			
		||||
[FFmpeg](./docs/ffmpeg.md)<!--rehype:style=background: rgb(0 193 9/var(\-\-bg\-opacity));&class=contributing-->
 | 
			
		||||
 
 | 
			
		||||
@@ -48,7 +48,7 @@ bar.example.com
 | 
			
		||||
检查Inventory是否生效
 | 
			
		||||
 | 
			
		||||
```shell
 | 
			
		||||
ansible all --list-hosts
 | 
			
		||||
$ ansible all --list-hosts
 | 
			
		||||
```
 | 
			
		||||
ping所有目标
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										18
									
								
								docs/css.md
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								docs/css.md
									
									
									
									
									
								
							@@ -1374,10 +1374,11 @@ a[href^="http"]:empty::before {
 | 
			
		||||
}
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
如果你的 `<a>` 标签里面没有内容,将 `href` 的值作为内容展示
 | 
			
		||||
如果 `<a>` 标签里面没有内容,将 `href` 的值作为内容展示
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
### 使用 :root 表示灵活类型
 | 
			
		||||
<!--rehype:wrap-class=row-span-2-->
 | 
			
		||||
 | 
			
		||||
响应式布局中的字体大小应该能够根据每个视口进行调整,您可以使用 `:root` 根据视口高度和宽度计算字体大小
 | 
			
		||||
 | 
			
		||||
@@ -1387,7 +1388,7 @@ a[href^="http"]:empty::before {
 | 
			
		||||
}
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
现在您可以根据 `:root` 计算的值使用根 `em` 单位:
 | 
			
		||||
您可以根据 `:root` 计算的值使用根 `em` 单位:
 | 
			
		||||
 | 
			
		||||
```css
 | 
			
		||||
body {
 | 
			
		||||
@@ -1395,6 +1396,19 @@ body {
 | 
			
		||||
}
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### 类似 contenteditable 的样式
 | 
			
		||||
 | 
			
		||||
```css
 | 
			
		||||
div {
 | 
			
		||||
  -webkit-user-modify: 
 | 
			
		||||
    read-write-plaintext-only;
 | 
			
		||||
}
 | 
			
		||||
```
 | 
			
		||||
<!--rehype:className=wrap-text -->
 | 
			
		||||
 | 
			
		||||
通过样式来控制一个元素 `div` 是否可以编辑
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
另见
 | 
			
		||||
---------
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user