Answers for "jquery fade opacity"

0

jquery fade opacity

<div id="clickme">
  Click here
</div>
<img id="book" src="book.png" alt="" width="100" height="123">
// With the element initially shown, we can dim it slowly:
$( "#clickme" ).click(function() {
  $( "#book" ).fadeTo( "slow" , 0.5, function() {
    // Animation complete.
  });
});
Posted by: Guest on December-15-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language