10 Jul CSS Overview
CSS describes the process of simplifying the design of web pages to make them more tremendous. CSS is referred as Cascading Style Sheets (CSS), and widely used to work upon the look and feel of a website or web pages.
CSS has the potential of handling the design of all the web pages at once. You just need to change a single file to change the UI of the complete website. It defines the layout of your web pages, so that the styling looks great on multiple devices also.
When Cascading Style Sheets (CSS) wasn’t introduced, developers only had HTML to work on websites. All the presentation attributes were part of the HTML markup. The font, font colors, text color, background color, borders, etc were explicitly added. For every web page, the information was added again. Well, this repetition led to more complex and larger documents.
CSS introduced and the work became easier, since only a single file needs to be changed to change the complete layout of a website. The information is moved to a style sheet, which leads to simpler HTML.
Here’s the list of CSS Versions,
The first version of CSS was named CSS1, published as a W3C recommendation in the year 1996. It provided styling for HTML elements, including color of text, spacing between words, alignment of images, etc. It is no longer maintained by W3C.
The second version of CSS was named CSS2, published as a W3C recommendation in the year 1998. It provided support for downloadable fonts, and came out with some more awesome features such as bidirectional text, positional of elements with absolute, relative, and fixed style. It is no longer maintained by W3C.
Note: Each level of CSS builds upon the last and provides new features.
The third version of CSS was named CSS3, published as a W3C recommendation in the year 1999. It wasn’t introduced with a number of features like we saw in CSS1 and CSS2, but it was divided into separate documents called modules. These modules were a great introduction, since they added new capabilities to CSS2.
The introduction of CSS3 extended the features defined in CSS2, preserving backward compatibility.