Last Updated on June 21, 2023
Web pages are built with HTML, which specifies the content of a page. CSS (Cascading Style Sheets) is a separate language which specifies a page’s appearance.
CSS code is made of static rules. Each rule takes one or more selectors and gives specific values to a number of visual properties. Those properties are then applied to the page elements indicated by the selectors.
Here’s our recommended books to learn CSS.
1. CSS Animation 101 by Donovan Hutchinson
This book gives you a light introduction to the topic, combining theory with practical lessons.
You’ll learn how, and why to use animation on your web pages and hopefully be inspired to try it on your own projects.
After reading the book you should have a sound understanding of CSS animations as well as the tools to create and experiment.
Create your own working environment and look at many examples of animation along the way.
2. SMACSS by Jonathan Snook
This useful book covers a number of topics related to CSS architecture.
- Categorizing CSS Rules.
- Base Rules.
- Layout Rules.
- Module Rules.
- State Rules.
- Theme Rules.
- Changing State.
- Aspects of SMACSS:
- Depth of Applicability.
- Selector Performance.
- HTML5 and SMACSS.
- Drop the Base.
- The Icon Module.
- Complicated Inheritance.
- Screencast: Applying the Principles.
- Screencast: Avoiding Content-specific Context.
3. Essential CSS by various authors
Essential CSS is written to provide clear and concise explanation of topics for both beginner and advanced programmers.
Most examples are linked to online playground that allows you to change the code and re-run it.
The content is based on now abandoned StackOverflow Documentation project. It has been heavily edited and improved.
4. Google HTML/CSS Style Guide
Google HTML/CSS Style Guide defines formatting and style rules for HTML and CSS.
It aims at improving collaboration, code quality, and enabling supporting infrastructure. It applies to raw, working files that use HTML and CSS, including GSS files.
Tools are free to obfuscate, minify, and compile as long as the general code quality is maintained.
5. CSS3 Succinctly by Peter Shaw
CSS3 Succinctly begins with a basic CSS refresher.
- New Selectors.
- New Pseudo Selectors.
- Eye Candy.
- Web Fonts.
- Generated Content and Calculations.
- The Mixed Bag of Tricks.
All books in this series:
|Free Programming Books
|ALGOL-like programming language, extended from Pascal and other languages
|Dependently typed functional language based on intuitionistic Type Theory
|Inexpensive, flexible, open source microcontroller platform
|As close to writing machine code without writing in pure hexadecimal
|Versatile language designed for pattern scanning and processing language
|Shell and command language; popular both as a shell and a scripting language
|Beginner’s All-purpose Symbolic Instruction Code
|General-purpose, procedural, portable, high-level language
|General-purpose, portable, free-form, multi-paradigm language
|Combines the power and flexibility of C++ with the simplicity of Visual Basic
|Dialect of the Lisp programming language
|Common Business-Oriented Language
|Dependently typed language similar to Agda, Idris, F* and others
|General-purpose, concurrent, multi-paradigm, object-oriented language
|CSS (Cascading Style Sheets) specifies a web page’s appearance
|General-purpose systems programming language with a C-like syntax
|Client-optimized language for fast apps on multiple platforms
|Multi-paradigm language supporting functional and object-oriented coding
|Best known as the language embedded in web browsers
|Object-oriented language designed by Bertrand Meyer
|Relatively new functional language running on the Erlang virtual machine
|General-purpose, concurrent, declarative, functional language
|Uses functional, imperative, and object-oriented programming methods
|Dynamic stack-based programming language
|Imperative stack-based programming language
|The first high-level language, using the first compiler
|Compiled, statically typed programming language
|Powerful, optionally typed and dynamic language
|Standardized, general-purpose, polymorphically, statically typed language
|HyperText Markup Language
|Wide variety of features for processing and presenting symbolic data
|Array programming language based primarily on APL
|General-purpose, concurrent, class-based, object-oriented, high-level language
|Interpreted, prototype-based, scripting language
|High-level, high-performance language for technical computing
|More modern version of Java
|Designed to enable domain experts to build power systems quickly
|Professional document preparation system and document markup language
|Unique features - excellent to study programming constructs
|Dialect of Lisp that features interactivity, modularity, extensibility
|Designed as an embeddable scripting language
|Plain text formatting syntax designed to be easy-to-read and easy-to-write
|Object-oriented language that adds Smalltalk-style messaging to C
|The main implementation of the Caml language
|Imperative and procedural language designed in the late 1960s
|High-level, general-purpose, interpreted, scripting, dynamic language
|PHP has been at the helm of the web for many years
|Interpreted, stack-based and Turing complete language
|A general purpose, declarative, logic programming language
|General-purpose, structured, powerful language
|Hierarchical declarative language for user interface layout - JSON-like syntax
|De facto standard among statisticians and data analysts
|General-purpose, object-oriented, multi-paradigm, functional language
|Member of the Perl family of programming languages
|General purpose, scripting, structured, flexible, fully object-oriented language
|Ideal for systems, embedded, and other performance critical code
|Modern, object-functional, multi-paradigm, Java-based language
|A general-purpose, functional language descended from Lisp and Algol
|Visual programming language designed for 8-16 year-old children
|Access and manipulate data held in a relational database management system
|General-purpose functional language characterized as "Lisp with types"
|Powerful and intuitive general-purpose programming language
|Dynamic language based on concepts of Lisp, C, and Unix shells
|Markup and programming language - create professional quality typeset text
|Object-oriented language, syntactically similar to C#
|Hardware description language used in electronic design automation
|Powerful scripting language of the Vim editor
|Rules for defining semantic tags describing structure ad meaning