Animation in jquery $(“button”).click(function(){ $(“div”).animate({ left: ‘250px’, opacity: ‘0.5’, height: ‘150px’, width: ‘150px’ }); }); Cook with me Share this content Opens in a new window X Opens in a new window Facebook Opens in a new window WhatsApp You Might Also Like Change event in select using jquery July 29, 2023 Image lazy load in php June 12, 2024 Get and Set CSS Classes August 2, 2023 Leave a Reply Cancel replyCommentEnter your name or username to comment Enter your email address to comment Enter your website URL (optional) Save my name, email, and website in this browser for the next time I comment.