- Sass and Compass Designer's Cookbook
- Bass Jobsen
- 108字
- 2021-07-16 10:56:47
Chapter 4. Nested Selectors and Modular CSS
In this chapter, you will learn the following topics:
- Using nested selectors
- Creating more intuitive code and making inheritance clear
- Referencing parent selectors with the & sign
- Using multiple & signs to refer to the parent selector more than once
- Using the & operator to change the selector order
- Utilizing the @extend directive
- Using placeholder selectors with the @extend directive
- Using the @extend directive together with the @media at-rule
- Using the @extend directive with care
- Emitting rules at the root of the document
- Avoiding nested selectors too deeply for more modular CSS
- Applying the OOCSS, SMACSS, and BEM methodologies
推薦閱讀
- Learning Single:page Web Application Development
- C語言程序設計實踐教程(第2版)
- NLTK基礎教程:用NLTK和Python庫構建機器學習應用
- 概率成形編碼調制技術理論及應用
- EPLAN實戰設計
- Python機器學習基礎教程
- 精通MATLAB(第3版)
- 軟件工程基礎與實訓教程
- Python商務數據分析(微課版)
- ASP.NET 4.0 Web程序設計
- Unity 2017 Game AI Programming(Third Edition)
- Scratch從入門到精通
- Getting Started with RethinkDB
- Game Development Patterns and Best Practices
- Learning Zimbra Server Essentials