+ 1

Can I include Selectors in keyframes?

I want to include selectors in keyframes Ex:- @keyframes{ 0%{ #id{ code goes here} } 100%{ #id{ code goes here} } } Will this work?

20th Jul 2020, 2:51 PM
Abhishek Kudlur
4 odpowiedzi
+ 3
Abhishek Kudlur yes you can and yes it should work
20th Jul 2020, 3:03 PM
BroFar
BroFar - avatar
20th Jul 2020, 4:12 PM
Gordon
Gordon - avatar
+ 1
You shouldn't use #id in 0% 100% The element links to keyframes with animation property.
20th Jul 2020, 3:50 PM
Gordon
Gordon - avatar
0
Gordon okay..but didn't get what you are saying
20th Jul 2020, 3:53 PM
Abhishek Kudlur