Book description
CSS lets you create professional-looking websites, but learning its finer points can be tricky—even for seasoned web developers. This fully updated edition provides the most modern and effective tips, tricks, and tutorial-based instruction on CSS available today. Learn how to use new tools such as Flexbox and Sass to build web pages that look great and run fast on any desktop or mobile device. Ideal for casual and experienced designers alike.
The important stuff you need to know:
- Start with the basics. Write CSS-friendly HTML, including the HTML5 tags recognized by today’s browsers.
- Design for mobile devices. Create web pages that look great when visitors use them on the go.
- Make your pages work for you. Add animations that capture the imagination, and forms that get the job done.
- Take control of page layouts. Use professional design techniques such as floats and positioning.
- Make your layouts more flexible. Design websites with Flexbox that adjust to different devices and screen sizes.
- Work more efficiently. Write less CSS code and work with smaller files, using Syntactically Awesome Stylesheets (Sass).
Publisher resources
Table of contents
- CSS: The Missing Manual
- The Missing Credits
- Introduction
-
1. CSS Basics
- 1. HTML and CSS
- 2. Creating Styles and Style Sheets
-
3. Selectors: Identifying What to Style
- Type Selectors: Styling HTML Tags
- Class Selectors: Pinpoint Control
- ID Selectors: Specific Page Elements
- Styling Groups of Tags
- Styling Tags Within Tags
- Pseudo-Classes and Pseudo-Elements
- Attribute Selectors
- Child Selectors
- Siblings
- The :target Selector
- The :not() Selector
- Tutorial: Selector Sampler
- 4. Saving Time with Style Inheritance
- 5. Managing Multiple Styles: The Cascade
-
2. Applied CSS
- 6. Formatting Text
- 7. Margins, Padding, and Borders
-
8. Adding Graphics to Web Pages
- Discovering CSS and the <img> Tag
- Adding Background Images
- Controlling Repetition
- Positioning a Background Image
- Using Background Property Shorthand
- Using Multiple Background Images
- Utilizing Gradient Backgrounds
- Tutorial: Enhancing Images
- Tutorial: Creating a Photo Gallery
- Tutorial: Using Background Images
- 9. Sprucing Up Your Siteâs Navigation
- 10. CSS Transforms, Transitions, and Animations
- 11. Formatting Tables and Forms
-
3. CSS Page Layout
- 12. Introducing CSS Layout
- 13. Building Float-Based Layouts
- 14. Positioning Elements on a Web Page
- 15. Responsive Web Design
- 16. Using a CSS Grid System
- 17. Modern Web Layout with Flexbox
-
4. Advanced CSS
- 18. Improving Your CSS Habits
- 19. More Powerful Styling with Sass
-
5. Appendixes
-
A. CSS Property Reference
- CSS Values
-
Text Properties
- color (inherited)
- font (inherited)
- font-family (inherited)
- font-size (inherited)
- font-style (inherited)
- font-variant (inherited)
- font-weight (inherited)
- letter-spacing (inherited)
- line-height (inherited)
- text-align (inherited)
- text-decoration (inherited)
- text-indent (inherited)
- text-shadow (inherited)
- text-transform (inherited)
- vertical-align
- white-space
- word-spacing (inherited)
- List Properties
-
Padding, Borders, and Margins
- box-shadow
- border
- border-radius
- border-top, border-right, border-bottom, border-left
- border-color
- border-top-color, border-right-color, border-bottom-color, border-left-color
- border-style
- border-top-style, border-right-style, border-bottom-style, border-left-style
- border-width
- border-top-width, border-right-width, border-bottom-width, border-left-width
- box-sizing
- outline
- outline-color
- outline-style
- outline-width
- padding
- padding-top
- padding-right
- padding-bottom
- padding-left
- margin
- margin-top
- margin-right
- margin-bottom
- margin-left
- Backgrounds
- Page Layout Properties
-
Animation, Transform and Transition Properties
- @keyframes
- animation
- animation-name
- animation-duration
- animation-timing-function
- animation-delay
- animation-iteration-count
- animation-direction
- animation-fill-mode
- animation-play-state
- transform
- transform-origin
- transition
- transition-property
- transition-duration
- transition-timing-function
- transition-delay
- Table Properties
- Miscellaneous Properties
- B. CSS Resources
-
A. CSS Property Reference
- Index
- About the Author
- Copyright
Product information
- Title: CSS: The Missing Manual, 4th Edition
- Author(s):
- Release date: August 2015
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491918012
You might also like
book
CSS Cookbook, 3rd Edition
Learn how to solve the real problems you face with CSS. This cookbook offers hundreds of …
book
CSS: The Definitive Guide, 4th Edition
If you’re a web designer or app developer interested in sophisticated page styling, improved accessibility, and …
book
CSS Master, 3rd Edition
CSS has grown from a language for formatting documents into a robust languagefor designing web applications. …
book
CSS Secrets
In this practical guide, CSS expert Lea Verou provides 47 undocumented techniques and tips to help …