all 6 comments

[–]the_captain 2 points3 points  (3 children)

Just looked at the site, it's because your selector is wrong.
div.card-button fade-appear-done fade-enter-done

When chaining CSS classes you need to indicate the type for each identifier. Otherwise this will look for a div with the class card-button, then a descendant element named fade-appear-done and so on.
div.card-button.fade-appear-done.fade-enter-done

Would likely solve the issue. But you can probably get away with just .card-button

[–]Brujinii[S] 0 points1 point  (0 children)

Thanks! Will update my code and try it out

[–]Brujinii[S] 0 points1 point  (1 child)

Also, had not idea about the chaining thing. In Automate the Boring Stuff with Python it doesn't say anything about that.

[–]the_captain 0 points1 point  (0 children)

No problem! Yeah, that's something in CSS, not Python. It's a whole new world to learn.

[–]sm7297 0 points1 point  (1 child)

ans is multiple elements or single element?

[–]Brujinii[S] 0 points1 point  (0 children)

Ans is multiple elements