小悠学习——快乐工作,悠闲生活.超全的IT开发手册!
HTML CSS JAVASCRIPT SQL PHP BOOTSTRAP JQUERY ANGULAR XML
×

CSS 参考手册

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

CSS 属性

CSS align-content CSS align-items CSS align-self CSS3 animation CSS3 animation-delay CSS3 animation-direction CSS3 animation-duration CSS3 animation-fill-mode CSS3 animation-iteration-count CSS3 animation-name CSS3 animation-play-state CSS3 animation-timing-function CSS3 appearance CSS3 backface-visibility CSS background CSS background-attachment CSS3 background-clip CSS background-color CSS background-image CSS3 background-origin CSS background-position CSS background-repeat CSS3 background-size CSS border CSS border-bottom CSS border-bottom-color CSS3 border-bottom-left-radius CSS3 border-bottom-right-radius CSS border-bottom-style CSS border-bottom-width CSS border-collapse CSS border-color CSS3 border-image CSS3 border-image-outset CSS3 border-image-repeat CSS3 border-image-slice CSS3 border-image-source CSS3 border-image-width CSS border-left CSS border-left-color CSS border-left-style CSS border-left-width CSS3 border-radius CSS border-right CSS border-right-color CSS border-right-style CSS border-right-width CSS border-spacing CSS border-style CSS border-top CSS border-top-color CSS3 border-top-left-radius CSS3 border-top-right-radius CSS border-top-style CSS border-top-width CSS border-width CSS bottom CSS3 box-align CSS3 box-direction CSS3 box-flex CSS3 box-flex-group CSS3 box-lines CSS3 box-ordinal-group CSS3 box-orient CSS3 box-pack CSS3 box-shadow CSS3 box-sizing CSS caption-side CSS clear CSS clip CSS color CSS3 column-count CSS3 column-fill CSS3 column-gap CSS3 column-rule CSS3 column-rule-color CSS3 column-rule-style CSS3 column-rule-width CSS3 column-span CSS3 column-width CSS3 columns CSS content CSS counter-increment CSS counter-reset CSS cursor CSS direction CSS display CSS empty-cells CSS flex CSS flex-basis CSS flex-direction CSS flex-flow CSS flex-grow CSS flex-shrink CSS flex-wrap CSS float CSS font CSS3 @font-face 规则 CSS font-family CSS font-size CSS3 font-size-adjust Property CSS3 font-stretch CSS font-style CSS font-variant CSS font-weight CSS3 grid-columns CSS3 grid-rows CSS3 hanging-punctuation CSS height CSS3 icon CSS justify-content CSS3 @keyframes 规则 CSS left CSS letter-spacing CSS line-height CSS list-style CSS list-style-image CSS list-style-position CSS list-style-type CSS margin CSS margin-bottom CSS margin-left CSS margin-right CSS margin-top CSS max-height CSS max-width CSS min-height CSS min-width CSS3 nav-down CSS3 nav-index CSS3 nav-left CSS3 nav-right CSS3 nav-up CSS3 opacity Property CSS order CSS outline CSS outline-color CSS3 outline-offset CSS outline-style CSS outline-width CSS overflow CSS3 overflow-x CSS3 overflow-y CSS padding CSS padding-bottom CSS padding-left CSS padding-right Property CSS padding-top CSS page-break-after CSS page-break-before CSS page-break-inside CSS3 perspective CSS3 perspective-origin CSS position CSS3 punctuation-trim CSS quotes CSS3 resize CSS right CSS3 rotation CSS tab-size CSS table-layout CSS3 target CSS3 target-name CSS3 target-new CSS3 target-position CSS text-align CSS text-align-last CSS text-decoration CSS text-decoration-color CSS text-decoration-line CSS text-decoration-style CSS text-indent CSS3 text-justify CSS3 text-outline CSS3 text-overflow CSS3 text-shadow CSS text-transform CSS3 text-wrap CSS top CSS3 transform CSS3 transform-origin CSS3 transform-style CSS3 transition CSS3 transition-delay CSS3 transition-duration CSS3 transition-property CSS3 transition-timing-function CSS unicode-bidi CSS vertical-align CSS visibility CSS white-space CSS width CSS3 word-break CSS word-spacing CSS3 word-wrap CSS z-index CSS3 @media 查询
 

CSS 语音参考



听觉样式表使用了语音合成和声音效果的结合,让用户收听信息,而不是读取信息。

有声显示可用于:

  • 失明人士
  • 帮助用户学习阅读
  • 帮助具有阅读问题的用户
  • 家庭娱乐
  • 在车上

听觉呈现通常会把文档转化为纯文本,然后传给屏幕阅读器(可读出屏幕上所有字符的一种程序)。

听觉样式表的一个例子:

h1,h2,h3,h4
{
voice-family:male;
richness:80;
cue-before:url("beep.au")
}

上面的例子用语音合成器播放声音,开头有一个男性的声音说话。



CSS 语音参考手册

CSS"列表示在CSS版本的属性定义(CSS1或CSS2)。

Property Description Values CSS
azimuth 设置声音应该来自哪里 angle
left-side
far-left
left
center-left
center
center-right
right
far-right
right-side
behind
leftwards
rightwards
2
cue 在一个声明中设置cue属性 cue-before
cue-after
2
cue-after 指定要播放的声音在一个元素的内容后面 none
url
2
cue-before 指定要播放的声音在一个元素的内容前面 none
url
2
elevation 设置声音应该来自哪里 angle
below
level
above
higher
lower 
2
pause 在一个声明中设置pause属性 pause-before
pause-after
2
pause-after 在一个元素的内容之后,指定暂停 time
%
2
pause-before 在一个元素的内容之前,指定暂停 time
%
2
pitch 指定讲话声音 frequency
x-low
low
medium
high
x-high 
2
pitch-range 指定讲话声音的变化。(单调的声音或动态的声音?) number 2
play-during 指定在读一个元素的内容时要播放的声音 auto
none
url
mix
repeat
2
richness 指定丰富的讲话声音。(浑厚的声音或细的声音?) number 2
speak 指定内容是否会提供听觉方式 normal
none
spell-out
2
speak-header 此属性设置或检索表格标题是在所有的单元格之前发声,还是到一个不与之关联的单元格就结束发声。 always
once
2
speak-numeral 设置或检索数字如何发音。 digits
continuous
2
speak-punctuation 设置或检索标点字符如何发音 none
code
2
speech-rate 指定发言速度 number
x-slow
slow
medium
fast
x-fast
faster
slower 
2
stress 讲话声音在指定的地方"重音" number 2
voice-family 设置或检索当前声音类型 specific-voice
generic-voice
2
volume 指定发言的音量 number
%
silent
x-soft
soft
medium
loud
x-loud 
2