CSS Quick Syntax Reference

  • 1h 22m
  • Mikael Olsson
  • Apress
  • 2014

The CSS Quick Syntax Reference is a 150-page syntax reference to the Cascading Style Sheet specification and style sheet language. It presents the essentials of CSS in a well-organized format that can be used as a handy reference.

You won’t find any technical jargon, bloated samples, drawn out history lessons or witty stories in this book. What you will find is a CSS reference that is concise, to the point, and highly accessible. The book is packed with useful information and is a must-have for any CSS programmer or Web developer.

In the CSS Quick Syntax Reference, you will find:

  • A concise reference to CSS
  • Short, simple, and focused code examples for presentation semantics
  • A well laid out table of contents and a comprehensive index allowing easy review

What you’ll learn

  • How to handle fundamentals like adding styles to HTML/XHTML as well as rule structure, style precedence, element classifications and display roles, visual layout, and floating and table layouts
  • How to work with CSS values like keywords, color and number values, percentage values, length values, and strings
  • How to apply CSS selectors: structural pseudo-classes, the negation pseudo-class, interaction pseudo-classes, pseudo-elements, and media queries
  • How to use CSS property references like universal values, visual media, paged media, and more

Who this book is for

This book is a handy, pocket quick syntax reference for experienced CSS developers as well as perhaps other programmers and Web developers new to CSS.

About the Author

Mikael Olsson is a professional programmer, web entrepreneur, and author. He works for an R&D company in Finland, at which he specializes in software development. In his spare time, he writes books and creates web sites that summarize various fields of interest. The books Mikael writes are focused on teaching their subjects in the most efficient way possible, by explaining only what is relevant and practical without any unnecessary repetition or theory.

In this Book

  • Using CSS
  • Grouping
  • Class and Id Selectors
  • Attribute Selectors
  • Pseudo Selectors
  • Relationship Selectors
  • Specificity
  • Colors
  • Units
  • CSS Properties
  • Text
  • Spacing
  • Font
  • Background
  • Gradients
  • Box Model
  • Border
  • Outline
  • Margin and Padding
  • Dimension
  • Positioning
  • Classification
  • List
  • Table
  • Media
  • Best Practices