সম্পাদনা
<!DOCTYPE html> <html> <head> <script src="https://code.jquery.com/jquery-3.7.1.min.js"></script> <script> $(document).ready(function(){ $("div").css({ "width": "50px", "height": "50px", "background-color": "pink", }); $(".fade").click(function(){ $("div").fadeTo(1000, 0.3); }); $(".reset").click(function(){ $("div").fadeTo(1000, 1); }); }); </script> </head> <body> <button class="fade">ফেড</button> <button class="reset">রিসেট</button><br> <div></div> </body> </html>
পূর্বরূপ