Chapter 2. Getting Started with CSS
What kinds of tools, from text editors to CSS software, you can use to write your style sheets
How to create, name, and save a style sheet
What the different parts of a CSS rule are and the function of each
How and when to add comments to a style sheet
Which simple rules you can use to create a basic style sheet
How to apply your style sheet to a simple HTML file
Which browsers to use to test your style sheet
Creating a Style Sheet
A Cascading Style Sheet, as you learned in Hour 1, “Understanding CSS,” is simply a file made up of style rules. CSS files are ordinary text files, just as HTML files are ordinary text files. This means that you can use a ...
Get Sams Teach Yourself CSS 24 in Hours now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.