diff --git a/README.md b/README.md index 394ef67..dd34717 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ Quick Reference 坑已挖,需要您的参与完善和贡献!🙏 +[Ansible](./docs/ansible.md) [CMake](./docs/cmake.md) [Django](./docs/djiango.md) [FFmpeg](./docs/ffmpeg.md) diff --git a/docs/ansible.md b/docs/ansible.md index e52c3e7..ce6bea8 100644 --- a/docs/ansible.md +++ b/docs/ansible.md @@ -48,7 +48,7 @@ bar.example.com 检查Inventory是否生效 ```shell -ansible all --list-hosts +$ ansible all --list-hosts ``` ping所有目标 diff --git a/docs/css.md b/docs/css.md index d736d19..7a5cb54 100644 --- a/docs/css.md +++ b/docs/css.md @@ -1374,10 +1374,11 @@ a[href^="http"]:empty::before { } ``` -如果你的 `` 标签里面没有内容,将 `href` 的值作为内容展示 +如果 `` 标签里面没有内容,将 `href` 的值作为内容展示 ### 使用 :root 表示灵活类型 + 响应式布局中的字体大小应该能够根据每个视口进行调整,您可以使用 `: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; +} +``` + + +通过样式来控制一个元素 `div` 是否可以编辑 + + 另见 ---------