A Complete Guide to Web Design

(やまだぃちぅ) #1
What’s New in CSS2 425

CSS

What’s New in CSS2

Web Design in a Nutshell, eMatter Edition

New Pseudo-Selectors


The following are the new CSS2 pseudo-selectors:


:after
:before
:first
:first-child
:focus
:hover
:lang
:left
:right

New Functions


The following are the new CSS2 funtions:


@charset
@media
@font-face
@page

New Values for Existing Properties


The following are the new CSS2 value for existing properties:


all properties
inherit


display
run-in, compact, marker, table, inline-table, table-row, table-row-group, table-
column, table-column-group, table-cell, table-caption, table-header-group,
table-footer-group


font
caption, icon, menu, message-box, small-caption, status-bar


list-style-type
hebrew, armenian, georgian, cjk-ideographic, hiragana, hiragana-iroha, kata-
kana, katakana-iroha


values
(These values are case-insensitive, but use of the capitalization is encouraged
for the sake of readability.)
ActiveBorder, ActiveCaption, AppWorkspace, Background, ButtonFace,
ButtonHighlight, ButtonText, CaptionText, GrayText, Highlight, Highlight-
Text, InactiveBorder, InactiveCaption, InfoBackground, InfoText, Menu,
MenuText, Scrollbar, ThreeDDarkShadow, ThreeDFace, ThreeDHighlight,
ThreeDLightshadow, ThreeDShadow, Window, WindowFrame, WindowText
Free download pdf