Difference between css2 and css3

 Some difference between css2 and css3




CSS2

CSS3

CSS splits up different sections of the code into modules,

Both CSS and HTML were put into a single file, there was no concept of modules before.

There are new ways you can write CSS rules with a bunch of CSS selectors

There were no new ways of writing the CSS rules.

There is no backward compatibility with CSS2

There is backward compatibility maintained with CSS3

With CSS2 only web safe fonts can be used

With CSS3 special fonts can be used such as those in Google Fonts and TypeCast

With CSS2 the concept of simple selectors were present

With CSS3 the selectors were called as a sequence of simple seletors.com

Using CSS2, for rounded borders, coding the css styles were complex

With CSS3, there is provision for automatically assigning rounded borders to objects21

CSS 2, splitting text into multiple columns required complex coding because the standard was not equipped enough to break the text into columns so that it would fit into a box

CSS3 has the capability to split text into various columns so that each text block appears as a layout of the newspaper

CSS 2 Doesn't support the BorderBox property

CSS3 supports the Border-Box property



No comments:

Powered by Blogger.