CSS 总共47个模块,最后一个是所有属性参考,每天看十几个吧,其实并不多:
- Compositing and Blending
- CSS Animations
- CSS Backgrounds and Borders
- CSS Basic User Interface
- CSS Box Model
- CSS Charsets
- CSS Color
- CSS Multi-column Layout
- CSS Conditional Rules
- CSS Counter Styles
- CSS Device Adaptation
- CSS Display
- CSS Flexible Box Layout
- CSS Fonts
- CSS Fragmentation
- CSS Generated Content
- CSS Grid Layout
- CSS Houdini
- CSS Images
- CSS Lists
- CSS Logical Properties and Values
- CSS Masking
- CSS Miscellaneous
- CSS Motion Path
- CSS Namespaces
- CSS Paged Media
- CSS Positioned Layout
- CSS Ruby Layout
- CSS Scroll Snap Points
- CSS Scroll Snap
- CSS Scrollbars
- CSS selectors
- CSS Shapes
- CSS Table
- CSS Text Decoration
- CSS Text
- CSS Transforms
- CSS Transitions
- CSS data types
- CSS Custom Properties for Cascading Variables
- CSS Writing Modes
- CSSOM View
- Filter Effects
- Media queries
- Pseudo-classes
- Pseudo-elements
- CSS reference
以上列表直接去 MDN 官网相关页面,直接控制台输入如下代码就可以得到:
document.querySelector("#sidebar-quicklinks>div>ol>li:nth-child(7) ol").querySelectorAll("a").forEach((i,index)=>{console.log(`${index+1}. [${i.innerText}](${i.href})`)});