自强学堂
自强学堂:学习、分享、让你更强!
CSS 参考手册HTMLCSSJAVASCRIPTJQUERYSQLPHPBOOTSTRAPANGULARXML
×

CSS 参考手册

CSS 参考手册 CSS 选择器 CSS 语音参考 CSS Web安全字体 CSS 单位 CSS 颜色 CSS 合法颜色值 CSS 颜色名称 CSS 颜色十六进制值 CSS 浏览器支持

CSS 属性

align-contentalign-itemsalign-selfanimationanimation-delayanimation-directionanimation-durationanimation-fill-modeanimation-iteration-countanimation-nameanimation-play-stateanimation-timing-function appearance backface-visibility background background-attachment background-clip background-color background-image background-origin background-position background-repeat background-size border border-bottom border-bottom-color border-bottom-left-radiusborder-bottom-right-radius border-bottom-style border-bottom-width border-collapse border-color border-imageborder-image-outsetborder-image-repeatborder-image-sliceborder-image-sourceborder-image-width border-left border-left-color border-left-style border-left-width border-radius border-right border-right-color border-right-style border-right-width border-spacing border-style border-top border-top-color border-top-left-radiusborder-top-right-radius border-top-style border-top-width border-width bottom box-align box-direction box-flex box-flex-group box-lines box-ordinal-group box-orient box-pack box-shadow box-sizing caption-side clear clip color column-count column-fill column-gap column-rule column-rule-color column-rule-style column-rule-width column-span column-width columns content counter-increment counter-reset cursor direction display empty-cells flexflex-basisflex-directionflex-flowflex-growflex-shrinkflex-wrap float font @font-face font-family font-size font-size-adjustfont-stretch font-style font-variant font-weight grid-columns grid-rows hanging-punctuation height icon justify-content@keyframes left letter-spacing line-height list-style list-style-image list-style-position list-style-type margin margin-bottom margin-left margin-right margin-top max-height max-width min-height min-width nav-down nav-index nav-left nav-right nav-up opacity order outline outline-color outline-offset outline-style outline-width overflow overflow-x overflow-y padding padding-bottom padding-left padding-right padding-top page-break-after page-break-before page-break-inside perspective perspective-origin position punctuation-trim quotes resize right rotation tab-size table-layout target target-name target-new target-position text-align text-align-last text-decoration text-decoration-colortext-decoration-linetext-decoration-style text-indent text-justify text-outline text-overflow text-shadow text-transform text-wrap top transform transform-origin transform-style transition transition-delaytransition-duration transition-property transition-timing-function unicode-bidi vertical-align visibility white-space width word-break word-spacing word-wrap z-index

 

CSS 浏览器支持


Note 自强学堂 CSS3的浏览器支持参考会定期与所有主要浏览器进行测试。


CSS3 浏览器支持

对CSS3是没有一个W3C标准的,但全部的主流浏览器都已经支持许多新的功能。下面是有关所有的新的CSS3属性和他们的浏览器支持的参考:

属性IEFirefoxChromeSafariOpera
alignment-adjust
alignment-baseline
@keyframes101612.1
animation101612.1
animation-name101612.1
animation-duration101612.1
animation-timing-function101612.1
animation-delay101612.1
animation-iteration-count101612.1
animation-direction101612.1
animation-play-state101612.1
appearance3
backface-visibility10
background-clip944510.5
background-origin944510.5
background-size944510.5
baseline-shift
bookmark-label
bookmark-level
bookmark-target
border-bottom-left-radius945510.5
border-bottom-right-radius945510.5
border-image1516611
border-image-outset
border-image-repeat
border-image-slice
border-image-source
border-image-width
border-radius945510.5
border-top-left-radius945510.5
border-top-right-radius945510.5
box-decoration-break
box-align
box-direction
box-flex12.1
box-flex-group
box-lines
box-ordinal-group
box-orient
box-pack
box-shadow94105.110.5
box-sizing8105.19.5
color-profile
column-fill
column-gap1011.1
column-rule1011.1
column-rule-color1011.1
column-rule-style1011.1
column-rule-width1011.1
column-span1011.1
column-width1011.1
columns1011.1
column-count1011.1
crop
dominant-baseline
drop-initial-after-adjust
drop-initial-after-align
drop-initial-before-adjust
drop-initial-before-align
drop-initial-size
drop-initial-value
fit
fit-position
float-offset
@font-face93.64310
font-size-adjust2
font-stretch
grid-columns
grid-rows
hanging-punctuation
hyphenate-after
hyphenate-before
hyphenate-characters
hyphenate-lines
hyphenate-resource
hyphens
icon
image-orientation
image-resolution
inline-box-align
line-stacking
line-stacking-ruby
line-stacking-shift
line-stacking-strategy
mark
mark-after
mark-before
marks
marquee-direction
marquee-play-count
marquee-speed
marquee-style
move-to
nav-down11.5
nav-index11.5
nav-left11.5
nav-right11.5
nav-up11.5
opacity9243.19
outline-offset11
overflow-style
overflow-x92
overflow-y92
page
page-policy
perspective5
perspective-origin
punctuation-trim
rendering-intent
resize544
rest
rest-after
rest-before
rotation
rotation-point
ruby-align
ruby-overhang
ruby-position
ruby-span
size
string-set
target
target-name
target-new
target-position
text-align-last
text-emphasis
text-height
text-justify5
text-outline
text-overflow6743.111
text-shadow103.5449.5
text-wrap
transform101612.1
transform-origin101612.1
transform-style5
transition10162612.1
transition-property10162612.1
transition-duration10162612.1
transition-timing-function10162612.1
transition-delay10162612.1
word-break5.51543
word-wrap53.543.110.5

图标说明

IE浏览器
火狐浏览器
Google Chrome浏览器
Safari浏览器
Opera浏览器

前缀-ms-的IE浏览器
  前缀-moz-的火狐浏览器
前缀-webkit-的Google Chrome浏览器
前缀-webkit-的Safari浏览器
前缀-o-的Opera浏览器
  前缀-xv-的Opera浏览器

对于某些属性,你会看到浏览器的图标和一个数字:

944510.5

数字表示是第一次支持该属性的浏览器版本。