CSS World
Tags
Summary
Editor's review
Who it's for
A good fit for
- Front-end developers who already know basic HTML and CSS syntax and want a deeper understanding of CSS core principles and working mechanisms
- Intermediate engineers who often hit tricky problems in CSS layout practice and want to find root-cause solutions
- Technology enthusiasts who are not content to rely on UI frameworks and aspire to build their own component libraries or deeply customize styles
- Job seekers preparing for front-end interviews who want to systematically organize their CSS knowledge and handle in-depth principle questions
Not a good fit for
- Absolute beginners with no exposure to HTML and CSS looking for a zero-foundation introductory tutorial
- Practitioners who only need to quickly style simple pages and have no interest in underlying principles or technical depth
Reading tips
- Read in chapter order, paying special attention to the early chapters on “flow” and the box model—these are the foundation for everything that follows
- Be sure to practice with the code examples as you read, modifying parameters and observing how the results change to deepen your understanding of the principles
- Keep the book as a desk reference: when you hit a specific layout problem, return to the relevant chapter with your question in mind, and you will often find new inspiration
About the publisher
Posts & Telecom Press is known for its strengths in science and technology, computing, and information and communications titles, and has extended its publishing into photography, art, software learning, and inspirational growth, giving it a fairly diverse range. Its catalog includes computing and communications works such as Refactoring and Patterns (Revised Edition) and Huawei Switch Learning Guide (Second Edition), alongside bilingual collector's editions such as The Little Prince (Chinese-English-French illustrated collector's edition), The Great Gatsby, and Three Days to See. Beijing Ten Years: 1980-1990 and Ghost Blade: WLOP Personal Illustration Collection reflect its presence in photography and art. Its authors include Antoine de Saint-Exupéry, Helen Keller, Joshua Kerievsky, Wang Da, Zhang Zhaozeng, and WLOP.
Contents
- 版权信息
- 内容提要
- 前言
- 特别感谢
- 第1章 概述
- 1.1 CSS世界的“世界观”
- 1.2 世界都是创造出来的
- 1.3 CSS完胜SVG的武器——流
- 1.4 CSS世界的开启从IE8开始
- 1.5 table自己的世界
- 1.6 CSS新世界——CSS3
- 第2章 需提前了解的术语和概念
- 2.1 务必了解的CSS世界的专业术语
- 2.2 了解CSS世界中的“未定义行为”
- 第3章 流、元素与基本尺寸
- 3.1 块级元素
- 3.2 width/height作用的具体细节
- 3.3 CSS min-width/max-width和min-height/max-height二三事
- 3.4 内联元素
- 第4章 盒尺寸四大家族
- 4.1 深入理解content
- 4.2 温和的padding属性
- 4.3 激进的margin属性
- 4.4 功勋卓越的border属性
- 第5章 内联元素与流
- 5.1 字母x——CSS世界中隐匿的举足轻重的角色
- 5.2 内联元素的基石line-height
- 5.3 line-height的好朋友vertical-align
- 第6章 流的破坏与保护
- 6.1 魔鬼属性float
- 6.2 float的天然克星clear
- 6.3 CSS世界的结界——BFC
- 6.4 最佳结界overflow
- 6.5 float的兄弟position:absolute
- 6.6 absolute与overflow
- 6.7 absolute与clip
- 6.8 absolute的流体特性
- 6.9 position:relative才是大哥
- 6.10 强悍的position:fixed固定定位
- 第7章 CSS世界的层叠规则
- 7.1 z-index只是CSS层叠规则中的一叶小舟
- 7.2 理解CSS世界的层叠上下文和层叠水平
- 7.3 理解元素的层叠顺序
- 7.4 务必牢记的层叠准则
- 7.5 深入了解层叠上下文
- 7.6 z-index负值深入理解
- 7.7 z-index“不犯二”准则
- 第8章 强大的文本处理能力
- 8.1 line-height的另外一个朋友font-size
- 8.2 字体属性家族的大家长font-family
- 8.3 字体家族其他成员
- 8.4 font属性
- 8.5 真正了解@font face规则
- 8.6 文本的控制
- 8.7 了解:first-letter/:first-line伪元素
- 第9章 元素的装饰与美化
- 9.1 CSS世界的color很单调
- 9.2 CSS世界的background很单调
- 第10章 元素的显示与隐藏
- 10.1 display与元素的显隐
- 10.2 visibility与元素的显隐
- 第11章 用户界面样式
- 11.1 和border形似的outline属性
- 11.2 光标属性cursor
- 第12章 流向的改变
- 12.1 改变水平流向的direction
- 12.2 改变CSS世界纵横规则的writing-mode
- 欢迎来到异步社区!
FAQ
How is this book different from classics like CSS: The Definitive Guide or CSS Secrets?
Which CSS version is the content based on? Will it be outdated if I learn from it now?
How much math or computer science background do I need to read this book?
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.
About the author
Zhang Xinxu is a technical author in the field of front-end web development in China. Publicly available information about him is limited, and details such as his nationality, dates of birth and death, and educational background have not been clearly recorded. Two of his works are included in the collection, both in the programming and design category: CSS World and HTML Is Not Simple: Advanced Secrets of Web Front-End Development. Judging from their titles and subject matter, his writing focuses on the fundamentals and advanced practice of front-end web development, centering on CSS layout and styling and on the structure and semantics of HTML, for Chinese readers who wish to solidify their basics and improve their practical skills. Such books typically explain specifications and techniques through concrete examples, in accessible language close to engineering practice. Because verifiable material is limited, his personal history and full bibliography cannot be described in detail here, but these two works already reflect his orientation toward the underlying knowledge of front-end development and toward careful attention to coding details.