Keep in mind for pages intended for viewing on TV.
This link has been bookmarked by 11 people . It was first bookmarked on 07 Nov 2007, by Perry Branch.
-
14 Nov 15
-
This section describes a grammar (and forward-compatible parsing rules) common to any level of CSS (including CSS 2.1). Future updates of CSS will adhere to this core syntax, although they may add additional syntactic constraints.
-
These descriptions are normative.
-
In this specification, the expressions "immediately before" or "immediately after" mean with no intervening white space or comments.
-
Keywords must not be placed between quotes
-
In CSS, identifiers may begin with '
-' (dash) or '_' (underscore). Keywords and property names beginning with-' or '_' are reserved for vendor-specific extensions. -
Thus typical CSS implementations may not recognize such properties and may ignore them according to the rules for handling parsing errors.
-
An initial dash or underscore is guaranteed never to be used in a property or keyword by any current or future level of CSS.
-
Authors should avoid vendor-specific extensions
-
-
27 Jul 15
-
The format of an RGB value in hexadecimal(十六进制的) notation is a '#' immediately followed by either three or six hexadecimal characters
-
When a percentage value is set for a property of the root element and the percentage is defined as referring to the inherited value of some property, the resultant value is the percentage times the initial value of that property.
-
Since child elements (generally) inherit the computed values of their parent, in the following example, the children of the P element will inherit a value of 12px for 'line-height', not the percentage value (120%):
p { font-size: 10px } p { line-height: 120% } /* 120% of 'font-size' */ -
are resolved
-
counter(<identifier>, <'list-style-type'>)
-
rgb(255,255,255) = rgb(100%,100%,100%) = #FFF
-
-
10 Sep 10
-
04 Aug 10
-
08 Mar 09
-
07 Nov 07
-
Add Sticky Note
For reading at arm's length, 1px thus corresponds to about 0.26 mm (1/96 inch). When printed on a laser printer, meant for reading at a little less than arm's length (55 cm, 21 inches), 1px is about 0.20 mm. On a 300 dots-per-inch (dpi) printer, that may be rounded up to 3 dots (0.25 mm); on a 600 dpi printer, it can be rounded to 5 dots.
The two images below illustrate the effect of viewing distance on the size of a pixel and the effect of a device's resolution. In the first image, a reading distance of 71 cm (28 inch) results in a px of 0.26 mm, while a reading distance of 3.5 m (12 feet) requires a px of 1.3 mm.

-
-
Add Sticky NoteAbsolute length units are only useful when the physical properties of the output medium are known.
-
Print media for example.
-
-
For CSS style sheets, the base URI is that of the style sheet, not that of the source document.
-
list of color keywords is: aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, orange, purple, red, silver, teal, white, and yellow
-
-
06 Nov 07
-
30 May 07
Public Stiky Notes
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.