Book description
So you think you know CSS? Take your CSS skills to the next level and learn to write organized and optimized CSS that will improve the maintainability, performance, and appearance of your work.
You'll learn how document flow and CSS positioning schemes will help you make your documents more accessible. You'll discover the great styling possibilities of CSS paired with semantic structures like Microformats and RDFa, while enriching the self-describing semantics of XHTML content. Learn how to group logically related declarations, minify style sheets, and prevent performance bottle necks such as reflows and repaints. With support for CSS enjoying unprecedented ubiquity, you can finally use such features as generated content, complex selector chains, and CSS3's visual properties, like box-shadow, in your projects.
Table of contents
- Cover Page
- Title Page
- Copyright
- Dedication
- CONTENTS AT A GLANCE
- CONTENTS
- ABOUT THE AUTHORS
- ABOUT THE TECHNICAL REVIEWER
- ABOUT THE COVER IMAGE DESIGNER
- Acknowledgments
- Layout Conventions
-
Part 1: INTRODUCTION: DIGESTING THE WEB'S ALPHABET SOUP
- Chapter 1: MARKUP UNDERPINS CSS
- Chapter 2: CSS FUNDAMENTALS FOR ADVANCED USE
-
Part 2: ADVANCED CSS IN PRACTICE
- Chapter 3: CSS-GENERATED CONTENT
- Chapter 4: OPTIMIZING FOR PRINT
- Chapter 5: DEVELOPING FOR SMALL SCREENS AND THE MOBILE WEB
-
Chapter 6: MANAGING AND ORGANIZING STYLE SHEETS
- The need for organization
- What organization looks like
- Using CSS features as architecture
-
Good coding principles
- Taking advantage of inheritance
- Organizing from broad to specific
- Avoid overusing arbitrary <div> elements, IDs, or classes
- Dividing style sheets into logical sections
- Dividing design principles into files
- Use the shortest URL that works
- Good code formatting conventions
- Alphabetize your declarations
- Consistency is your ally
- Techniques for intra-team communication
- Persistent, preferred, and alternate style sheets
- Styling for media
- Summary
-
Part 3: CSS PATTERNS AND ADVANCED TECHNIQUES
- Chapter 7: SEMANTIC PATTERNS FOR STYLING COMMON DESIGN COMPONENTS
- Chapter 8: USING A STYLE SHEET LIBRARY
- Chapter 9: STYLING XML WITH CSS
-
Chapter 10: OPTIMIZING CSS FOR PERFORMANCE
- Why optimize?
- Optimization vs. organization
-
Optimization techniques
- Optimizing with CSS shorthand, selector groups, and inheritance
- Avoid universal selectors or lengthy descendant selectors
- Put CSS at the top
- Prefer <link> elements over @import rules
- Compressing, combining, and minifying style sheets
- Avoid CSS expressions and filters
- Reference external CSS instead of inline styles
- Use absolute or fixed positioning on animated elements
- Diagnostic tools for CSS performance
- Summary
-
Part 4: THE FUTURE OF CSS
- Chapter 11: EXPLORING THE EMERGENCE OF CSS3
- Chapter 12: THE FUTURE OF CSS AND THE WEB
- Index
Product information
- Title: AdvancED CSS
- Author(s):
- Release date: July 2009
- Publisher(s): Apress
- ISBN: 9781430219323
You might also like
video
HTML & CSS JumpStart
8+ Hours of Video Instruction More than 8 hours of video instruction for people interested in …
book
Enduring CSS
Learn to really THINK about CSS, and how to create CSS that endures continual iteration, multiple …
book
Positioning in CSS
The Grid Layout spec will soon change your approach to website design, but there will still …
video
Learning CSS Animations
CSS animations are pretty simple. They allow you to animate CSS properties by letting you specify …