Skip to Content
Learn to Code HTML and CSS: Develop and Style Websites
book

Learn to Code HTML and CSS: Develop and Style Websites

by Shay Howe
May 2014
Beginner
304 pages
7h 38m
English
New Riders
Content preview from Learn to Code HTML and CSS: Develop and Style Websites

Lesson 3. Getting to Know CSS

CSS is a complex language that packs quite a bit of power. It allows us to add layout and design to our pages, and it allows us to share those styles from element to element and page to page. Before we can unlock all of its features, though, there are a few aspects of the language we must fully understand.

First, it’s crucial to know exactly how styles are rendered. Specifically, we’ll need to know how different types of selectors work and how the order of those selectors can affect how our styles are rendered. We’ll also want to understand a few common property values that continually appear within CSS, particularly those that deal with color and length.

Let’s look under the hood of CSS to see exactly what is going ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Website Design and Development with HTML5 and CSS3

Website Design and Development with HTML5 and CSS3

Hassen Ben Rebah, Hafedh Boukthir, Antoine Chedebois

Publisher Resources

ISBN: 9780133477597Purchase book