animation - Animate opacity on hover (jQuery) -


हमारे पास एक लिंक है:

  & lt; a href = "#" & gt; कुछ पाठ & lt; span style = "width: 50px; height: 50px; पृष्ठभूमि: url (image.png); अतिप्रवाह: छिपा हुआ; अस्पष्टता: 0;" & gt; & lt; / span & gt; & Lt; / a & gt;  

और हम कुछ एनीमेशन के साथ & lt; span & gt; की अपारदर्शिता को बदलना चाहते हैं, जब लिंक को रखा जाता है।

हम कैसे करेंगे यह?

इस तरह:

  $ ('a: है (स्पैन) ')। होवर (फ़ंक्शन () {$ (' span ', this)। FadeIn ();}, फ़ंक्शन () {$ (' span ', this)। FadeOut ();});  

Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -