Safari and WebKit implement a large subset of the CSS 2.1 Specification defined by the World Wide Web
Consortium (W3C), along with portions of the CSS 3 Specification. This reference describes the supported
properties and provides Safari availability information. If a property is not listed here, it is not implemented by
Safari and WebKit.
The CSS attributes in this article are divided according to the groups defined by the W3C CSS Specification:
●
Box Model (page 17) describes properties specific to the bounding boxes of block elements, including
borders, padding, and margins. Additional box-related properties specific to tables are described separately
in Tables (page 145).
●
Visual Formatting Model (page 50) describes properties that set the position and size of block elements.
●
Visual Effects (page 64) describes properties that adjust the visual presentation of block elements, including
overflow behavior, resizing behavior, visibility, animation, transforms, and transitions.
●
Generated Content, Automatic Numbering, and Lists (page 99) describes properties that allow you to
change the contents of an element, create automatically numbered sections and headings, and manipulate
the style of list elements.
●
Paged Media (page 103) describes properties associated with controlling appearance attributes specific to
printed versions of a webpage, such as page break behavior.
●
Colors and Backgrounds (page 106) describes properties that control the background of block-level elements
and the color of text content within elements.
●
Fonts (page 115) describes properties specific to font selection for text within an element. It also describes
properties used in downloadable font definitions.
●
Text (page 122) describes properties specific to text styles, spacing, and automatic scrolling (marquee).
●
Tables (page 145) describes layout and styling properties specific to table elements.
●
User Interface (page 159) describes properties that relate to user interface elements in the browser, such
as scrolling text areas, scroll bars, and so on. It also describes properties that are outside the scope of the
page content, such as cursor style and the callout shown when you touch and hold a touch target such
as a link in iOS.
2012-07-23 | Copyright © 2012 Apple Inc. All Rights Reserved.
16
Supported CSS Properties