下(xià)面是 CSS3 新增的 CSS3 屬性列表。
animation
(and eight associated longhand properties)
background-clip
background-origin
background-size
border-radius
(and four associated longhand properties)
border-image
(and six associated longhand properties)
box-decoration-break
box-shadow
box-sizing
columns
(and thirteen associated multi-column properties)
clear-after
flex
(and eleven associated flexbox properties)
font-stretch
font-size-adjust
font-synthesis
font-kerning
font-variant-caps
hanging-punctuation
hyphens
icon
image-resolution
image-orientation
line-break
object-fit
object-position
opacity
outline-offset
overflow-wrap
/ word-wrap
backface-visibility
perspective
perspective-origin
pointer-events
(for HTML)
resize
tab-size
text-align-last
text-decoration-line
text-decoration-skip
text-decoration-position
text-decoration-style
text-emphasis
(and three associated properties)
text-justify
text-orientation
text-overflow
transform
transform-style
text-shadow
transition
(and four associated longhand properties)
word-break
word-spacing
writing-mode
在 CSS3 中(zhōng)爲 CSS2.1 新增的取值,下(xià)面是每個屬性新值的列表。
background-attachment
property
clip
property
position
property
position
property
background-repeat
property
background-repeat
property
cursor
property
display
property
font-variant
property
letter-spacing
property
text-align
property, including "text-decoration
is now a shorthand property
tfext-indent
property
text-transform
property
rem
units for lengths
calc()
units for lengths
toggle()
units
deg
, grad
, rad
, turn
)
s
, ms
)
下(xià)面是 CSS3 中(zhōng)新增的選擇器。
[att^=val]
, [att$=val]
, [att*=val]
)
:target
pseudo-class
:enabled
, :disabled
, :checked
, and :indeterminate
:root
pseudo-class
:nth-child()
, :nth-last-child()
, :nth-of-type()
, :nth-last-of-type()
:last-child
, :first-of-type
, :last-of-type
, :only-child
, :only-of-type
, :empty
:not()
::first-line
, ::first-letter
,::before
, ::after
)
p ~ img
)
::selection
pseudo-class (removed from the spec, but everyone uses it)
其它 CSS2.1 沒有包含的特性。
@font-face
@keyframes
@supports
@namespace
上面的列表并不詳盡,還有很多仍然在發展中(zhōng)的規範,并沒有太多的浏覽器支持,下(xià)面是這些新模塊的列表。
@font-face
下(xià)一(yī)篇 24個優秀的國外(wài)單頁網站設計作品欣賞
上一(yī)篇: 6步輕松搞定專題頁面設計