Home > Article > Web Front-end > what does css do
CSS (English full name: Cascading Style Sheets) Chinese name is Cascading Style Sheets, which is a computer language used to express file styles such as HTML or XML. CSS can not only statically modify web pages, but can also cooperate with various scripting languages to dynamically format various elements of web pages.
CSS can perform pixel-level precise control over the layout of element positions in web pages, supports almost all font size styles, and has the ability to edit web page objects and model styles.
CSS is a technology called stylesheet. Some people also call it Cascading Stylesheet.
Using CSS technology when making the homepage can effectively achieve more precise control over the layout, fonts, colors, backgrounds and other effects of the page.
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.
Its function can be achieved:
(1) It can be used on almost all browsers.
(2) Some functions that had to be implemented through image conversion in the past can now be easily implemented using CSS, thereby downloading the page faster.
(3) Make the fonts on the page more beautiful and easier to arrange, making the page truly pleasing to the eye.
(4) You can easily control the layout of the page.
(5) The styles and formats of many web pages can be updated at the same time, without having to update them page by page. All web page styles on the site can be controlled using a CSS file. As long as the corresponding lines in the CSS file are modified, all pages of the entire site will change accordingly.
The above is the detailed content of what does css do. For more information, please follow other related articles on the PHP Chinese website!