Home > Article > Web Front-end > Chapter 1 Basic understanding of CSS
About CSS Introduction
CSSS is the abbreviation of "Cascading Style Sheets", which is translated as "cascading style sheet" in Chinese, and some people only translate it as "style sheet". CSS is used for the layout and style design of web pages. In the so-called "new web pages", CSS is undoubtedly a very important part. CSS is based on the existing foundation to make up for the deficiencies in the existing HTML specifications and make web design more flexible. This teaching document is going to introduce you to the application of CSS! This article does not introduce all the specifications of CSS, but only introduces you to the syntax parts and application methods that are more commonly used and likely to be used in web page writing. Also, since the compatibility between the two browsers is gradually getting further away, we will carefully indicate the browsers that support this syntax for you. IE has supported some grammars since 3.0, and this will also be noted for you.
A brief introduction to each chapter
For the convenience of your reference and study, here is a brief explanation of the content contained in each chapter of this teaching document! Let you have a direction and concept for reference. Basically, the first two chapters focus on the establishment of concepts and basic cognition, that is, some root work for you; the third chapter provides you with additional explanations and explanations of other methods or features in application and settings. introduce. Chapters 4 to 6 focus on the introduction of syntax, parameters and properties, that is, the stuff that is really built in the style sheet. Chapter 1 Basic understanding of CSS: That’s it! Let me introduce you to some basic concepts and understanding of CSS. Chapter 2 Application Methods of CSS: Introducing you to the basic declaration, application methods and features of CSS. Chapter 3: Supplementary Applications of CSS: Introducing other declaration methods, applications and features of CSS. Chapter 4: CSS of page properties: Introducing you to the relevant syntax, parameters and properties of CSS of page properties. Chapter 5: Text-based CSS: Introducing you to the syntax, parameters and properties of text-based CSS. Chapter 6 Block-natured CSS: Introducing you to the block-natured CSS related syntax, parameters and properties.
Basic understanding of application
It is not difficult to apply CSSS, but please refer to the basic understanding here first. After you have a basic concept of some terms, you will have some ideas for the following teachings. Help, it doesn’t look too strenuous! 1. Understanding of basic terms: Element: that is, the tag in the basic syntax of HTML. Attribute: Attribute used to describe the characteristics of the label. For example:
The above is the content of Chapter 1 Basic understanding of CSS. For more related content, please pay attention to the PHP Chinese website (www.php.cn)!