Cascading Style Sheets Level 2 Revision 2 (CSS 2.2) Specification

W3C Editors Draft 27 April 2018

This version:
Latest version:
Latest version of CSS level 2:
Latest version of CSS:
Latest editor's draft:
Tantek Çelik <>
Sam Sneddon
Former Editors:
Bert Bos <>
Elika J. Etemad / fantasai
Ian Hickson <>
Håkon Wium Lie <>

This document is also available in these non-normative formats: plain text, gzip'ed tar file, zip file, gzip'ed PostScript, PDF. See also translations.


This specification defines Cascading Style Sheets level 2 (CSS 2) revision 2 (CSS 2.2). CSS is a style sheet language that allows authors and users to attach style (e.g., fonts and spacing) to structured documents (e.g., HTML documents and XML applications). By separating the presentation style of documents from the content of documents, CSS simplifies Web authoring and site maintenance.

It supports media-specific style sheets so that authors may tailor the presentation of their documents to visual browsers, aural devices, printers, braille devices, handheld devices, etc. It also supports content positioning, table layout, features for internationalization and some properties related to user interface.

CSS 2.2 is derived from and is intended to replace the CSS 2.1 and CSS2 (1998) specifications. See appendix C of this document for changes from CSS 2.1, and appendix C of CSS 2.1 for changes from CSS2 (1998) (noting that certain CSS2 (1998) features were removed from CSS 2 in CSS 2.1). All future specifications should refer to CSS 2.2 when referring to CSS level 2; if they wish to reference features from CSS2 (1998) dropped in later revisions they should reference the latest applicable CSS module.

Status of this document

This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at http://www.w3.org/TR/.

Publication as a First Public Working Draft does not imply endorsement by the W3C Membership. This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.

This document was produced by the CSS Working Group (part of the Style Activity).

The (archived) public mailing list www-style@w3.org (see instructions) is preferred for discussion of this specification. When sending e-mail, please put the text “CSS22” in the subject, preferably like this: “[CSS22] …summary of comment…

This document was produced by a group operating under the 5 February 2004 W3C Patent Policy. W3C maintains a public list of any patent disclosures made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains Essential Claim(s) must disclose the information in accordance with section 6 of the W3C Patent Policy.

This document is governed by the 1 August 2014 W3C Process Document.

All changes since the previous Recommendation are listed in appendix C.

Quick Table of Contents

Full Table of Contents