---
title: "Discussion on \"How to know if CSS animation has ended\" | Hashnode"
description: "Discussion on \"How to know if CSS animation has ended\". CSS animations are great but sometimes you wish to do change your DOM once it has ended, who knows probably you want to remove the element that you just hidden.\nLet's say for example that you have two lists, one for recipes and the other for your fav..."
url: "https://hashnode.com/posts/how-to-know-if-css-animation-has-ended/61d7e6338d56921d07b901bf"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to know if CSS animation has ended](https://blog.cupofcraft.dev/how-to-know-if-css-animation-has-ended?utm_source=hashnode&utm_medium=feed)

CSS animations are great but sometimes you wish to do change your DOM once it has ended, who knows probably you want to remove the element that you just hidden. Let's say for example that you have two lists, one for recipes and the other for your fav...

Jan 7, 2022 · 2 min read · blog.cupofcraft.dev  
Read the article

-   [#til](https://hashnode.com/tag/til)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Andrea Barghigiani](https://hashnode.com/@cupofcraft)

@cupofcraft · Alcamo, Italy

  
[View profile](https://hashnode.com/@cupofcraft)

Web, Creative, Teacher

Product Engineer with more of a decade of experience, now working on careercraft.ing to help engineers all over the world to progress in their careers without losing a single win.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
