CSS

Facebook Twitter

Firebug. Eric Meyer: CSS. CSS Work Books by Eric Including Smashing CSS, CSS: The Definitive Guide, Third Edition, CSS Pocket Reference, and Cascading Style Sheets 2.0 Programmer’s Reference, among several others.

Eric Meyer: CSS

Articles by Eric Local copies of CSS articles, as well as other writing I've done. Inline model document A terse, but hopefully complete, description of how the CSS inline box model really works. Color equivalents table All 147 SVG-derived color keywords permitted in CSS3 in a sortable table showing the keywords with their equivalents in both hexadecimal notations, both (non-alpha) RGB notations, and non-alpha HSL. CSS Module Timelines A visualization of the activity of the CSS Working Group by plotting draft publication dates and W3C statuses over time.

CSS Module Editors Leaderboard A bit of a goof wherein I score the editors of various CSS modules and present the results as a leaderboard. CSS Tests A fairly large collection of test files I’ve accumulated over the years. W3C CSS2 Test Suite Prototyping Offsite. Web colors. Web colors are colors used in displaying web pages, and the methods for describing and specifying those colors.

Web colors

Colors may be specified as an RGB triplet or in hexadecimal format (a hex triplet). They may also be specified according to their common English names in some cases. Often a color tool or other graphics software is used to generate color values. In some uses, hexadecimal color codes are specified with notation using a leading number sign (#).[1][2] A color is specified according to the intensity of its red, green and blue components, each represented by eight bits. Thus, there are 24 bits used to specify a web color, and 16,777,216 colors that may be so specified. Hex triplet[edit] A hex triplet is a six-digit, three-byte hexadecimal number used in HTML, CSS, SVG, and other computing applications, to represent colors.

Byte 1: red value (color type red) Byte 2: green value (color type green) Byte 3: blue value (color type blue) Shorthand hexadecimal form[edit] HTML color names[edit] The W3C CSS Validation Service. CSS Font. Font family (HTML) In HTML and XHTML, a font face or font family is the typeface that will be applied by a web browser to some text.

Font family (HTML)

The font is relevant for the display of text on the screen, on a printer or another device. A font family and other presentation attributes of a font may be applied in HTML code in either cascading style sheets (CSS) or the deprecated HTML font element. <p class="text"> Sample text formatted with CSS in a separate stylesheet. </p><p style="font-family: times, serif; font-size:14pt; font-style:italic"> Sample text formatted with inline CSS. </p><p><i><font face="times, serif" size="3"> Sample text formatted with the deprecated FONT tag.

When using CSS to apply a font whose name has whitespace in it, use quotes or single quotes to delimit the name. In CSS, a font-family (or face in HTML) consists of a set of related fonts, grouped as font families.