Tutorials Point


  CSS Home

  CSS Reference
  Pseudo Classes & Elements

Copyright © 2014 by tutorialspoint



  Home     References     Discussion Forums     About TP  

CSS - pause


previous next AddThis Social Bookmark Button


Advertisements

Description:

The pause is a shorthand element for pause-before and pause-after.

Possible Values:

  • time: Any time value (e.g., 150ms); the pause will be the length of time specified.
  • percentage: The length of the pause is dictated by the value of speech-rate. For a speech-rate of 60 words per minute, which corresponds to one word per second, then a percentage is calculated with respect to one second. For a speech-rate of 120 words per minute, which yields a time per word of 500 milliseconds, then percentage would be calculated with respect to 500 milliseconds.

DOM Syntax:

object.style.pause="150ms";

Applies to:

All the HTML elements

Example:

Here is the example:

<style tyle="text/css">
<!--
a:link, a:visited {pause: 25%;}
h1 {pause: 2s 250ms;}
-->
</style>

For more detail please look into CSS Aural Media.



previous next Printer Friendly

Advertisements


  

Advertisements