CSS3 is the latest version of CSS, which is a style sheet language used to explain the display of a document. This language has been written in a markup language. This markup language is used to define the style to a Web page and user interface that is created using HTML. The main objective of CSS is to separate document content from the presentation. When we talk about the presentation, it means the layout, color, and fonts. CSS explains how the elements of the HTML page should be displayed. You can create the responsive templates using CSS3 and can save them with .css extension.
The CSS3 is compatible with the previous versions of CSS. Such a markup language can also be used to display the web page in a varied manner on the basis of the size of a screen or the device. In fact, CSS3 has added life to the web while making the job of web developers easier.
Initially, CSS was introduced by Hakon Wium Lie on October 10, 1994. Today, the latest version of CSS is called CSS3, having the history chart as follows:
CSS1 was released on December 17, 1996, and provides the following features:
- Properties of Font.
- Color of the background and text.
- Provides spacing between words, letters, and lines of text.
- Aligns text, images, and tables.
- Arranges margin, border, and placement of many elements.
CSS2 was published during May 1998 and was a superset of CSS1 with some more additional capabilities, such as absolute, relative, and fixed positioning of elements. CSS3 was divided into many separate modules wherein each module had new capabilities in comparison to CSS2.
The first draft of CSS3 was announced in June 1999, and since then the development had been in progress. By June 2012, above 50 modules of CSS3 were published, adding life to the web.