Backend code farmers front-end (CSS) Lesson 1: CSS overview, backend css
I. Starting from playing a browser
Playing a browser is a meaningful part of Head First books. But the author forgot to tell us how to play the browser. Let's start from here.
It is the flowchart of html and css rendering by the webkit kernel. From this graph, we can know the following key information: 2. Export Graph
The graphic is the directory of the series of articles. To some extent, I have referred to Mr. Wang fupeng's "How to Learn CSS". 3. Conceptual literacy (yes, this is a knowledge point that occurs before the body .)
1. Rules: a css rule consists of a selector and one or more declarations.
2. selector: the selector is usually an HTML element that you need to change the style.
3. Declaration: Declaration is the style you want to set (each declaration consists of an attribute and a value ).
4. attribute: the attribute is the style attribute you want to set (each attribute has a value, and the attribute and value are separated by colons ).