Home > Web Front-end > CSS Tutorial > CSS voice-family property

CSS voice-family property

WBOY
Release: 2023-09-04 18:49:02
forward
1004 people have browsed it

CSS voice-family 属性

The value is a comma-separated, prioritized list of phonetic last names. It can have the following values ​​

  • generic-voice − The value is the voice series. Possible values ​​are "Male", "Female", and "Child".
  • Specific Sound - Value is a specific instance (e.g. comedian, trinoids, carlos, lani).

Example

You can try the following code to implement the voice-family property -

<style>
   <!--
      h1 { voice-family: announcer, male }
      p.part.romeo { voice-family: romeo, male }
      p.part.juliet { voice-family: juliet, female }
   -->
</style>
Copy after login

The above is the detailed content of CSS voice-family property. For more information, please follow other related articles on the PHP Chinese website!

source:tutorialspoint.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template