Book description
PROFESSIONAL TECHNIQUES FOR MODERN LAYOUT
Smashing CSS takes you well beyond the basics, covering not only the finer points of layout and effects, but introduces you to the future with HTML5 and CSS3. Very few in the industry can show you the ins and outs of CSS like Eric Meyer and inside Smashing CSS Eric provides techniques that are thorough, utterly useful, and universally applicable in the real world. From choosing the right tools, to CSS effects and CSS3 techniques with jQuery, Smashing CSS is the practical guide to building modern web layouts.
With Smashing CSS you will learn how to:
Throw elements offscreen/hide them
Create body/HTML backgrounds in XHTML
Usemore than 15 layout techniques including clearfix, two/three simple columns, faux columns, One True Layout, Holy Grail, em-based layout, fluid grids, sticky footers, and more
Use a variety of CSS effects including CSS popups, boxpunching, rounded corners, CSS sprites, Sliding Doors, Liquid Bleach, ragged floats, and more
Apply CSS table styling including using thead, tfoot, and tbody, row headers, column-oriented styling (classes); styling data tables with jQuery, tables to graphs, tables to maps; and more
Use CSS3 elements including rounded corners, multiple backgrounds, RGBA, using jQuery to do CSS3 selections and so much more.
Eric Meyer is an internationally recognized expert on the subjects of HTML, CSS, and Web standards, and has been working on the Web since 1993. Smashing CSS is for developers who already have some experience with CSS and JavaScript and are ready for more advanced techniques.
Smashing Magazine (smashingmagazine.com) is one of the world's most popular web design sites. True to the Smashing mission, the Smashing Magazine book series delivers useful and innovative information to Web designers and developers.
Table of contents
- Copyright
- PUBLISHER'S ACKNOWLEDGMENTS
- About the Author
- Acknowledgements
- Introduction
-
I. FUNDAMENTALS
- 1. TOOLS
-
2. SELECTORS
- 2.1. PSEUDO WHAT?
- 2.2. TARGETS WITH STYLE
- 2.3. SPECIFICITY
- 2.4. IMPORTANCE
- 2.5. WHAT HAPPENS WHEN YOU OMIT SHORTHAND VALUE KEYWORDS
- 2.6. SELECTIVELY OVERRIDING SHORTHANDS
- 2.7. UNIVERSAL SELECTION
- 2.8. ID VS. CLASS
- 2.9. ID WITH CLASS
- 2.10. MULTICLASSING
- 2.11. SIMPLE ATTRIBUTE SELECTION
- 2.12. ATTRIBUTE SELECTION OF CLASSES
- 2.13. ID VS. ATTRIBUTE SELECTOR
- 2.14. SUBSTRING ATTRIBUTE SELECTION
- 2.15. MORE SUBSTRING ATTRIBUTE SELECTION
- 2.16. CHILD SELECTION
- 2.17. SIMULATED PARTIAL CHILD SELECTION
- 2.18. SIBLING SELECTION
- 2.19. GENERATING CONTENT
-
II. ESSENTIALS
-
3. TIPS
- 3.1. VALIDATE!
- 3.2. ORDERING YOUR FONT VALUES
- 3.3. ROLLING IN LINE-HEIGHT
- 3.4. UNITLESS LINE-HEIGHT VALUES
- 3.5. AVOID STYLE-LESS BORDER VALUES
- 3.6. CONTROLLING BORDER APPEARANCE WITH COLOR
- 3.7. SUPPRESSING ELEMENT DISPLAY
- 3.8. SUPPRESSING ELEMENT VISIBILITY
- 3.9. THROWING ELEMENTS OFF-SCREEN
- 3.10. IMAGE REPLACEMENT
- 3.11. PRINT STYLES
- 3.12. DEVELOPING PRINT STYLES
- 3.13. BLOCK-LEVEL LINKS
- 3.14. MARGIN OR PADDING?
- 3.15. OUTDENTING LISTS
- 3.16. BULLETING LISTS
- 3.17. BACKGROUND BULLETS
- 3.18. GENERATING BULLETS
- 3.19. YOU HAVE MORE CONTAINERS THAN YOU THINK
- 3.20. DOCUMENT BACKGROUNDS
- 3.21. SERVER-SPECIFIC CSS
-
4. LAYOUTS
- 4.1. OUTLINES INSTEAD OF BORDERS
- 4.2. CENTERING BLOCK BOXES
- 4.3. FLOAT CONTAINMENT: OVERFLOW
- 4.4. FLOAT CONTAINMENT: FLOATING
- 4.5. CLEARFIXING
- 4.6. ADJACENT CLEARING
- 4.7. TWO SIMPLE COLUMNS
- 4.8. THREE SIMPLE COLUMNS
- 4.9. FAUX COLUMNS
- 4.10. LIQUID BLEACH
- 4.11. THE ONE TRUE LAYOUT
- 4.12. THE HOLY GRAIL
- 4.13. FLUID GRIDS
- 4.14. EM-BASED LAYOUT
- 4.15. NEGATIVE MARGINS IN FLOW
- 4.16. POSITIONING WITHIN A CONTEXT
- 4.17. PUSHING OUT OF THE CONTAINING BLOCK
- 4.18. FIXED HEADERS AND FOOTERS
-
5. EFFECTS
- 5.1. COMPLEXSPIRAL
- 5.2. CSS POP-UPS
- 5.3. CSS MENUS
- 5.4. BOXPUNCHING
- 5.5. PRE-CSS 3 ROUNDED CORNERS
- 5.6. CSS 3 ROUNDED CORNERS
- 5.7. CSS SPRITES
- 5.8. SLIDING DOORS
- 5.9. CLIPPED SLIDING DOORS
- 5.10. CSS PARALLAX
- 5.11. RAGGED FLOATS
- 5.12. BETTER RAGGED FLOATS
- 5.13. BOXING YOUR IMAGES
- 5.14. CONSTRAINED IMAGES
-
3. TIPS
- III. CUTTING EDGE
Product information
- Title: Smashing CSS: Professional Techniques for Modern Layout
- Author(s):
- Release date: November 2010
- Publisher(s): Wiley
- ISBN: 9780470684160
You might also like
book
Professional CSS: Cascading Style Sheets for Web Design, Second Edition
Updated and revised to reflect changes to cascading style sheets (CSS) development procedures since the first …
book
Positioning in CSS
The Grid Layout spec will soon change your approach to website design, but there will still …
book
The Book of CSS3, 2nd Edition
The Book of CSS3, 2nd Edition distills the murky language of the CSS3 specification into plain …
book
CSS3 Foundations
Master innovative and eye-catching website design with the exciting new Treehouse Series of books Turn plain …