差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 | ||
public:it:css [2020/12/30 13:11] – oakfire | public:it:css [2021/12/02 13:32] (当前版本) – oakfire | ||
---|---|---|---|
行 1: | 行 1: | ||
<WRAP center round important 60%> | <WRAP center round important 60%> | ||
注意, css 的诞生最早是为了适应富文本的流式布局, | 注意, css 的诞生最早是为了适应富文本的流式布局, | ||
+ | </ | ||
+ | <WRAP center round important 60%> | ||
+ | 坑: border-radius 设置为纯数字时,不被 chrome 接受,而 vscode, scss 等开发工具链也没有对此进行报错提示。 | ||
</ | </ | ||
行 9: | 行 12: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | ===== Flex ===== | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[http:// | ||
===== Tools ===== | ===== Tools ===== | ||
* [[http:// | * [[http:// | ||
行 15: | 行 22: | ||
===== Libs ===== | ===== Libs ===== | ||
* [[http:// | * [[http:// | ||
+ | ==== PostCSS ==== | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
==== LESS ==== | ==== LESS ==== | ||
* [[http:// | * [[http:// | ||
行 21: | 行 30: | ||
==== SCSS ==== | ==== SCSS ==== | ||
* [[https:// | * [[https:// | ||
+ | * 下划线开头的'' | ||
===== Tips ===== | ===== Tips ===== | ||
* div 水平居中:'' | * div 水平居中:'' | ||
行 51: | 行 61: | ||
* 响应式css: | * 响应式css: | ||
==== Calculating a selector' | ==== Calculating a selector' | ||
+ | 详见[[https:// | ||
+ | |||
Copy from [[http:// | Copy from [[http:// | ||
行 96: | 行 108: | ||
===== tips ===== | ===== tips ===== | ||
<WRAP center round tip 90%> | <WRAP center round tip 90%> | ||
- | CSS选择器优先级: | + | CSS选择器优先级:详见[[https:// |
* 浏览器用户设置 > 浏览器内置 > 网页行内style > 非行内style | * 浏览器用户设置 > 浏览器内置 > 网页行内style > 非行内style | ||
* css选择器的优先,分三组计算次数1.ID, | * css选择器的优先,分三组计算次数1.ID, |