English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

CSS3 Introduction

The design of CSS is mainly to achieve the separation of document content and document presentation, including layout, color and font, etc. It can also be used to display web pages in different ways, which can be changed according to your screen size. Changes to document design can be applied quickly and easily.

CSS3 Introduction

to CSS3is fully backward compatible, so you don't have to change your existing design. Browsers will always support CSS2.

CSS2and CSS3Main Differences

CSS3is the early version (CSS2)The latest standard. CSS2and CSS3The main differences between them are as follows:

  • Media Queries

  • Namespaces

  • Selectors

  • Colors

CSS3 Modules

CSS3have been split into "modules". The old specifications have been split into small modules, and new features have been added.

Some of the most important CSS3The modules are as follows:

  • Selectors

  • Box Model

  • Background and Border

  • Image Values and Replacement Content

  • Text Effects

  • 22D/32D Transformations

  • Animation

  • Multi-column Layout

  • User Interface

CSS3 Recommendations

W3CSS C3specifications are still under development.

However, many new CSS3The property is used in modern browsers.