20 Facts About CSS 3

1.

CSS 3 is a cornerstone technology of the World Wide Web, alongside HTML and JavaScript.

FactSnippet No. 1,252,445
2.

CSS 3 is designed to enable the separation of presentation and content, including layout, colors, and fonts.

FactSnippet No. 1,252,446
3.

CSS 3 has rules for alternate formatting if the content is accessed on a mobile device.

FactSnippet No. 1,252,447
4.

CSS 3 specifications are maintained by the World Wide Web Consortium .

FactSnippet No. 1,252,448
5.

CSS 3 has a simple syntax and uses a number of English keywords to specify the names of various style properties.

FactSnippet No. 1,252,449
6.

In CSS 3, selectors declare which part of the markup a style applies to by matching tags and attributes in the markup itself.

FactSnippet No. 1,252,450
7.

CSS 3 lets authors move much of that information to another file, the style sheet, resulting in considerably simpler HTML.

FactSnippet No. 1,252,451
8.

CSS 3 can define color, font, text alignment, size, borders, spacing, layout and many other typographic characteristics, and can do so independently for on-screen and printed views.

FactSnippet No. 1,252,452
9.

CSS 3 defines non-visual styles, such as reading speed and emphasis for aural text readers.

FactSnippet No. 1,252,453
10.

One of the goals of CSS 3 is to allow users greater control over presentation.

FactSnippet No. 1,252,454
11.

Inheritance is a key feature in CSS 3; it relies on the ancestor-descendant relationship to operate.

FactSnippet No. 1,252,455
12.

Inheritance in CSS 3 is not the same as inheritance in class-based programming languages, where it is possible to define class B as "like class A, but with modifications".

FactSnippet No. 1,252,456
13.

CSS 3 was first proposed by Hakon Wium Lie on 10 October 1994.

FactSnippet No. 1,252,457
14.

In 2005, the CSS 3 Working Groups decided to enforce the requirements for standards more strictly.

FactSnippet No. 1,252,458
15.

However, even when later "version 5" web browsers began to offer a fairly full implementation of CSS 3, they were still incorrect in certain areas and were fraught with inconsistencies, bugs and other quirks.

FactSnippet No. 1,252,459
16.

CSS 3 Working Group sometimes publishes "Snapshots", a collection of whole modules and parts of other drafts that are considered stable enough to be implemented by browser developers.

FactSnippet No. 1,252,460
17.

Adoption of new functionality in CSS 3 can be hindered by lack of support in major browsers.

FactSnippet No. 1,252,461
18.

Additionally, the CSS 3 defines feature queries, which provide an @supports directive that will allow developers to target browsers with support for certain functionality directly within their CSS.

FactSnippet No. 1,252,462
19.

CSS 3 that is not supported by older browsers can sometimes be patched in using JavaScript polyfills, which are pieces of JavaScript code designed to make browsers behave consistently.

FactSnippet No. 1,252,463
20.

CSS 3 frameworks are pre-prepared libraries that are meant to allow for easier, more standards-compliant styling of web pages using the Cascading Style Sheets language.

FactSnippet No. 1,252,464