ic-remove-class - The Remove Class Attribute

Summary

The ic-remove-class attribute allows you to remove classes from an element after a specified delay.

Syntax

The value of the attribute can be either a valid CSS class name, a valid CSS class name followed by a colon followed by a time delay, or a comma separated list of either of these.

Dependencies

The ic-remove-class attribute has no effect on dependencies.

Example

Here is a simple example, which removes an 'icRed' class after 2 seconds and takes 10 seconds to complete the transition.

        <h3 class="example icRed" ic-remove-class="icRed:2s">This Will Fade Red</h3>
      

This Will Fade From Red To Black