Op werkdagen voor 23:00 besteld, morgen in huis Gratis verzending vanaf €20

CSS Refactoring

Architect Your Stylesheets for Success

Paperback Engels 2016 1e druk 9781491906422
Verwachte levertijd ongeveer 16 werkdagen

Samenvatting

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

Specificaties

ISBN13:9781491906422
Taal:Engels
Bindwijze:paperback
Aantal pagina's:140
Uitgever:O'Reilly
Druk:1
Verschijningsdatum:18-11-2016
Hoofdrubriek:IT-management / ICT

Lezersrecensies

Wees de eerste die een lezersrecensie schrijft!

Inhoudsopgave

Preface

1. Refactoring and Architecture
-What Is Refactoring?
-What Is Software Architecture?
-Shortcomings that Lead to Refactoring
-When Should Code Be Refactored?
-When Should Code NOT Be Refactored?
-Am I Allowed to Refactor My Code?
-Refactoring Examples
-Chapter Summary

2. Understanding the Cascade
-What Is the Cascade?
-Selector Specificity
-Ruleset Order
-Inline CSS and Specificity
-Overriding the Cascade with the !important Declaration
-Chapter Summary

3. Writing Better CSS
-Use Comments
-Consistently Structure Rulesets
-Keep Selectors Simple
-Decouple CSS and JavaScript
-Use Classes
-Assign Classes Meaningful Names
-Build a Better Box
-Chapter Summary

4. Classifying Different Types of Styles
-The Importance of Classifying Styles
-Normalizing Styles
-Base Styles
-Component Styles
-Structural Styles
-Utility Styles
-Browser-Specific Styles
-Chapter Summary

5. Testing
-Why Is Testing Difficult?
-Which Browsers Are Important to Test?
-Browser Market Share
-Testing with Multiple Browsers
-Testing with Old Versions of Browsers
-Testing the Bleeding Edge
-Third-Party Testing Services
-Testing with Developer Tools
-Visual Regression Testing
-Maintaining Your Code
-Chapter Summary

6. Code Placement and Refactoring Strategies
-Organize CSS from Least Specific to Most Specific Styles
-Multiple Files or One Big File?
-Auditing Your CSS Before Refactoring
-Refactoring Strategies
-Measuring Success
-Chapter Summary

Appendix A: normalize.css

Index

Managementboek Top 100

Rubrieken

Populaire producten

    Personen

      Trefwoorden

        CSS Refactoring