Home > Article > Web Front-end > What are the differences between css1 css2 css3? Detailed explanation of the difference
This article brings you content about css1 css2 css3 What are the differences? The detailed explanation of the differences has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.
CSS1 provides basic information about fonts, colors, positions, and text properties. This version has been widely supported by browsers that currently parse HTML and XML.
But since the CSS1 version, the CSS2 version was released in May 1998, and the style sheet has been more enriched.
CSS2.0 provides us with a mechanism that allows programmers to create forms and interfaces without considering the display and interface during development. Display issues can be left to artists or programmers to write the corresponding CSS2.0 later. style to solve.
CSS2.0 is a brand-new style sheet structure promoted by W3C. It is completely different from the previous CSS1.0 or CSS1.2. CSS2.0 recommends a set of content and performance effects. In a separated manner, HTML elements can control the display effect through CSS2.0 styles. You can completely eliminate the use of table and td in previous HTML to position the appearance and style of the form. You only need to use HTML tags such as p and Li to separate elements. Then you can define the appearance of the form interface through CSS2.0 styles.
CSS3 language development is developing towards modularity. The previous specification was too large and complex as a module, so it was broken down into smaller modules and more new modules were added.
To put it simply, the attributes of css2 are available in css3, but the attributes of css3 may not be available in css2. CSS3 is the latest version, and the effect is incomparable to CSS2. CSS3 can be said to be an advancement of CSS2, because CSS3 adds some new attributes on the basis of CSS2. For example, there are many functions such as defining rounded corners, background color gradient, background image size control, and defining multiple background images. This is an effect that is not available in CSS2. Now new versions of browsers basically support CSS3, such as IE9, FF4, and chrome11, but it requires If you use CSS3 to develop a website, you should consider users who are still using lower version browsers.
The above is a complete introduction to the differences between css1 css2 css3. If you want to know more about CSS video tutorial, please pay attention to the PHP Chinese website.
The above is the detailed content of What are the differences between css1 css2 css3? Detailed explanation of the difference. For more information, please follow other related articles on the PHP Chinese website!