CSS Refactoring: Architect Your Stylesheets for Success (Paperback)

Steve Lindstrom

買這商品的人也買了...

相關主題

商品描述

Revisiting your code to remove redundancies and inconsistencies—known as refactoring—is a common practice when using programming languages. With this book, author Steve Lindstrom not only shows you how to structure your CSS to build a responsive, easy-to-use website, but also how to use refactoring tools to create faster, more readable CSS.

Good CSS is essential to the look and feel of modern sites—as important as the HTML that dictates the site’s appearance and the JavaScript that runs the application. This book is ideal for seasoned front-end developers cleaning up an existing project, as well as those starting a new project for the first time.

  • Discover why CSS is easy to learn but difficult to master
  • Understand the difference between good and bad CSS
  • Learn about refactoring and how it relates to CSS
  • Explore methods for executing a CSS refactoring
  • Learn how to deal with browser inconsistencies
  • Investigate common CSS antipatterns—and how to avoid them
  • Use techniques for structuring a project's CSS
  • Recognize when your CSS refactoring is successful

商品描述(中文翻譯)

重新檢視你的程式碼,以消除冗余和不一致性,這被稱為重構,是使用程式語言時的常見做法。在這本書中,作者Steve Lindstrom不僅向你展示如何結構化你的CSS以建立一個響應式、易於使用的網站,還向你展示如何使用重構工具來創建更快、更易讀的CSS。

良好的CSS對現代網站的外觀和感覺至關重要,就像指導網站外觀的HTML和運行應用程序的JavaScript一樣重要。這本書非常適合有經驗的前端開發人員整理現有項目,以及首次開始新項目的人。

- 發現為什麼CSS易於學習但難以掌握
- 理解好的CSS和壞的CSS之間的區別
- 了解重構以及它與CSS的關係
- 探索執行CSS重構的方法
- 學習如何處理瀏覽器的不一致性
- 研究常見的CSS反模式,以及如何避免它們
- 使用結構化項目的CSS技巧
- 辨識你的CSS重構是否成功