Which two parts are the core principles of css?
Most people do not understand the knowledge points of this article "which two parts of the core principles of css", so the editor summarizes the following contents, detailed content, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "which two parts of the core principles of css" article.
Css principle:
1. Priority principle = > the parsed content will overwrite the previously parsed content (the so-called parsing is the read css style) 2. Inheritance principle = > tags in nesting have some styles of external tags, and child elements can inherit attributes of parent elements
1 "priority principle for selector: a. The same selector reads from top to bottom to execute css style b. The same type of selector executes c. For different types of selector priority, execute the low priority first and then the high priority. For example, the basic selector is from the * wildcard