This may be a stupid question, but it will be easier for you to answer it. I’m not an expert, but I really want to be.
For example, I will create a separate animation of buttons for the admin bar (hover effect). But how to connect it (js) to these buttons?
Style connect with selector (E.g., #wp-head)
And how to connect js?