CSS stands for Cascading Style Sheets. The Chinese translation is "Cascading Style Sheets", referred to as CSS style sheet. It is a computer language used to express file styles such as HTML or XML. It is a standard style sheet. A language used to describe the presentation, i.e. layout and format, of a web page.
Using CSS technology when making web pages can effectively achieve better layout, fonts, colors, backgrounds and other effects. Precise control. As long as you make some simple modifications to the corresponding code, you can change the appearance and format of different parts of the same page, or web pages with different pages.
The role of CSS:
CSS can control the layout, color, background, width, height, and font of the web page, so that the web page can be customized according to your art The design layout is more beautiful and beautiful.
What does CSS look like?
First of all, CSS is composed of English words and values with certain meanings and functions, and the words used have regular attributes and usage
CSS styles There are three types of tables:
Style sheets for external links. Refers to using CSS files to link to HTML files.
Internal style sheet. It refers to the style sheet in the head of the HTML page (in the head), in the form:
<style type="text/css"> 声明{ 属性: 值;} </style>
embedded style sheet. It refers to the style embedded in the HTML tag, in the form of style="Attribute: value;"
As shown:
css water wave button special effect
CSS3 tips for drawing various basic graphics
Do you understand these css principles?
The above is the detailed content of What is CSS?. For more information, please follow other related articles on the PHP Chinese website!