S
S
Stepan19982022-02-09 17:22:39
css
Stepan1998, 2022-02-09 17:22:39

Is it possible to create @keyframes animation in styles only for certain classes?

We have nesting of classes in css, so that if we nest another in one,
.main .block {...}
then block styles will only work inside . Is it possible to do the same .main
with animation @keyframesso that, for example, animations of the same name work only in certain blocks and nowhere else?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question