Latest updates from Cleonix Technologies
Difference between CSS2 & CSS3

A Cascading Style Sheet, commonly known as CSS, is the layer of styling over HTML elements, or in simpler terms, it lets you style the elements (font, size, color, and spacing) of your HTML pages and content by applying classes to it.

There are basically three ways of writing CSS, which are mentioned below.
Internal Style Sheet, External Style Sheet, Inline CSS

Major Differences Between CSS, CSS2 & CSS3:

  1. CSS was originally released in 1996 and it has properties for adding font,backgrounds, and other elements. CSS2 was released in 1998. It has styles for other media types so that we can use it for page layout designing. CSS3 was released in 1999. It has presentation-style properties which allows you to build a presentation from documents.
  2. CSS2 has a single document, but in case of CSS3, it has many individual modules. For this, CSS3 became very easier to handle.
  3. Now the designers can use Google Fonts & typecast by the use of CSS3. Earlier, with CSS and CSS2, designers could only use “web safe fonts” for being 100% sure to use fonts that would always display the same on every machine.  
  4. While CSS and CSS2 had ‘simple selectors’, CSS3 calls the components as ‘a sequence of simple selectors’.
  5. CSS3 came up with some key web design considerations like rounded borders that help in rounding up the borders without any hassle. This turned out to be a huge plus point for developers who were struggling with initial versions of CSS borders.
  6. CSS3 has the capability to split text sections into multiple columns so that it can be read like a newspaper. In CSS2, the developers had difficulty because the standard was not equipped with automatically breaking of the text so that it fits within a box.

About the author


Leave a Reply

Your email address will not be published. Required fields are marked *