Home >Web Front-end >CSS Tutorial >CSS pause property

CSS pause property

WBOY
WBOYforward
2023-08-26 13:29:21860browse

CSS 暂停属性

This property is the abbreviation for setting pause-before and pause-after. If two values ​​are given, the first value is pause-before and the second value is pause-after.

Example

Let’s look at an example of the pause attribute in CSS −

<style>
   <!--
      /* pause-before: 20ms; pause-after: 20ms */
      h1 { pause : 20ms }

      /* pause-before: 30ms; pause-after: 40ms */
      h2{ pause : 30ms 40ms }

      /* pause-before: ?; pause-after: 10ms */
      h3 { pause-after : 10ms }
   -->
</style>

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

Statement:
This article is reproduced at:tutorialspoint.com. If there is any infringement, please contact admin@php.cn delete