CSS 声音相关属性
"CSS" 列指示该属性在哪个 CSS 版本中定义(CSS1 或 CSS2)。
属性 | 描述 | 值 | CSS |
---|---|---|---|
azimuth | 设置声音的来源。 | angleleft-sidefar-leftleftcenter-leftcentercenter-rightrightfar-rightright-sidebehindleftwardsrightwards | 2 |
cue | 在一条声明中设置 cue 属性。 | cue-beforecue-after | 2 |
cue-after | 规定念出元素内容后要播放的声音。 | noneurl | 2 |
cue-before | 规定念出元素内容前要播放的声音。 | url | 2 |
elevation | 设置声音的来源。 | anglebelowlevelabovehigherlower | 2 |
pause | 在一条声明中设置暂停属性。 | pause-beforepause-after | 2 |
pause-after | 规定在念出元素内容后暂停。 | time% | 2 |
pause-before | 规定在念出元素内容前暂停。 | time% | 2 |
pitch | 规定说话的声音。 | frequencyx-lowlowmediumhighx-high | 2 |
pitch-range | 规定语音的变化(单调还是动听的声音?) | number | 2 |
play-during | 规定在念出元素内容时要播放的声音。 | autononeurlmixrepeat | 2 |
richness | 指定语音的丰富程度。(声音丰富还是稀薄?) | number | 2 |
speak | 规定内容是否将以声音形式呈现。 | normalnonespell-out | 2 |
speak-header | 指定如何处理表格标题。应该在每个单元格之前朗读标题,还是仅在标题与前一个单元格不同的单元格之前念出标题。 | alwaysonce | 2 |
speak-numeral | 规定如何念出数字。 | digitscontinuous | 2 |
speak-punctuation | 规定如何念出标点符号。 | nonecode | 2 |
speech-rate | 规定说话的速度。 | numberx-slowslowmediumfastx-fastfasterslower | 2 |
stress | 规定语音中的“压力” | number | 2 |
voice-family | 规定语音的语音家族。 | specific-voicegeneric-voice | 2 |
volume | 规定说话的音量。 | number%silentx-softsoftmediumloudx-loud | 2 |