Home >Web Front-end >Front-end Q&A >How to create a new css style file
How to create a new css style file: first open the computer; then create a text file on the desktop; finally open it with Notepad and change the suffix name to ".css" and save it.
The operating environment of this article: Windows 7 system, CSS3 version, Dell G3 computer.
Cascading Style Sheets (English full name: Cascading Style Sheets) is a computer used to express document styles such as HTML (an application of Standard Generalized Markup Language) or XML (a subset of Standard Generalized Markup Language). language.
CSS is a language that defines style structures such as fonts, colors, positions, etc., and is used to describe the way information on web pages is formatted and displayed. CSS styles can be stored directly in HTML web pages or in separate style sheet files.
When styles need to be applied to many pages, external style sheets are ideal. Using external style sheets, you can change the look of your entire site by changing one file.
[Recommended: css video tutorial]
How to create a css file:
Creating a css file is actually very easy Simple, there are many methods, the simplest one is to create a text file,
Open it with Notepad - change the suffix name to ".css" and save it!
Of course, you can also use a text editor to create a new one, such as dw, EditPlus, etc. However, in the css file you create, you can directly write the style without writing anything else
The above is the detailed content of How to create a new css style file. For more information, please follow other related articles on the PHP Chinese website!