deleteRule

fun deleteRule(select: String)(source)

The deleteRule() method of the CSSKeyframeRule interface deletes the CSSKeyFrameRule that matches the specified keyframe selector.

MDN Reference