CSS Secrets
Tags
Summary
Editor's review
Who it's for
A good fit for
- 已掌握 HTML/CSS 基础、想突破进阶瓶颈的前端工程师
- 常与设计稿打交道、需要还原复杂视觉效果的网页开发者
- 希望理解 CSS 特性背后原理、减少 hack 与图片依赖的开发者
- 前端面试备考者,可用来梳理布局、层叠与动画的系统性知识
Not a good fit for
- 完全零基础、尚未写过 HTML 与 CSS 的初学者
- 只想查属性速查表、不打算动手复现代码的读者
- 以 React、Vue 等框架组件用法为主要诉求的开发者
Reading tips
- 先读第 1 章的编码技巧与「Web 标准」讨论,建立全书的思考基调。
- 每读一个案例先在 CodePen 等沙盒里亲手复现,再对照书中原理与兼容性说明。
- 通读一遍后,用书末「按规范分类」索引二刷,把零散技巧串成规范脉络。
- 遇到书中写法已被新特性取代时,顺手查 MDN 做对照笔记,形成自己的现代方案库。
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
- Translator's Preface
- Foreword
- Preface
- Acknowledgments
- How This Book Came to Be
- About This Book
- Chapter 1: Introduction: Web Standards—Friend or Foe?; CSS Coding Techniques
- Chapter 2: Backgrounds and Borders: Translucent Borders, Multiple Borders, Flexible Background Positioning, Inner Rounded Corners on Borders, Striped Backgrounds, Complex Background Patterns, Pseudo-Random Backgrounds, Continuous Image Borders
- Chapter 3: Shapes: Adaptive Ellipses, Parallelograms, Diamond Images, Cut-Corner Effects, Trapezoidal Tabs, Simple Pie Charts
- Chapter 4: Visual Effects: One-Sided Drop Shadows, Irregular Drop Shadows, Tinting Effects, Frosted-Glass Effects, Folded-Corner Effects
- Chapter 5: Typography: Hyphenated Line Breaking, Inserting Line Breaks, Zebra-Striped Text Lines, Adjusting Tab Width, Ligatures, The Fancy & Symbol, Custom Underlines, Realistic Text Effects, Circular Text
- Chapter 6: User Experience: Choosing the Right Mouse Cursor, Enlarging Click Targets, Custom Checkboxes, Dimming the Background with Shadows, Dimming the Background with Blur, Scroll Hints, Interactive Image Comparison Controls
- Chapter 7: Structure and Layout: Adaptive Inner Elements, Precise Control of Table Column Widths, Styling Based on the Number of Sibling Elements, Full-Bleed Backgrounds with Fixed-Width Content, Vertical Centering, Footers That Hug the Bottom
- Chapter 8: Transitions and Animations: Easing Effects, Frame-by-Frame Animation, Blinking Effects, Typing Animation, Animations with Smooth State Changes, Animations That Translate Along a Circular Path
- Index by Specification
FAQ
这本书适合零基础学 CSS 的人吗?
中文版和英文原版 CSS Secrets 内容一致吗?
书中的技巧现在还有用吗?
读这本书需要配合哪些工具?
这本书的难度大概在什么水平?
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.