css (full English name: Cascading Style Sheets) is an application used to express HTML (an application of Standard Universal Markup Language) or XML (a subset of Standard Universal Markup Language) Computer language for file formats. 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.
So the CSS file means that the CSS code is placed in a separate file and named with a css extension such as demo.css, which is a css file.
CSS provides a style description for the HTML markup language, defining how elements in it are displayed. CSS is a breakthrough in the field of web design. It can be used to modify a small style to update all page elements related to it.
Note: CSS files are also encoded, including GBK, UTF-8 and other encoding modes.
We can use Notepad, sublime, Notepad, WebStorm and other editors to open css files.
The above is the detailed content of What file is css?. For more information, please follow other related articles on the PHP Chinese website!