Button Confirmation

Size
2,176 Kb
Views
36,432

How do I make an button confirmation?

Simple button confirmation based on this dribbble.https://dribbble.com/shots/1986686-Button-Confirmation?list=animated&sort=popular&timeframe=now&offset=73. What is a button confirmation? How do you make a button confirmation? This script and codes were developed by Larry Geams Parangan on 13 September 2022, Tuesday.

Button Confirmation Previews

Button Confirmation - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Button Confirmation</title> <script src="https://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script> <link rel="stylesheet" href="css/style.css">
</head>
<body> <button>Save</button> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Button Confirmation - Script Codes CSS Codes

*{ transition: all 0.3s ease;
}
body{ padding: 100px 0;
}
button{ width: 220px; height: 50px; cursor: pointer; display: block; margin: auto; background: #01BBDE no-repeat center center; color: #fff; text-transform: uppercase; font-size: 20px; font-weight: bold; border: 0; padding: 15px 20px; border-radius: 50px; outline: 0;
}
button:active{ transform: scale(0.95); background: #008EC3;
}
button.loading{ width: 53px; background-image: url('http://een.ec.europa.eu/sites/default/files/multimedia/ajax-loader-2.gif'); background-position: center center; background-repeat: no-repeat; background-size: 25px;
}
button.success{ background-image: url('http://www.clker.com/cliparts/x/n/7/m/p/g/check-mark-in-white-md.png'); background-position: center center; background-repeat: no-repeat; background-size: 25px;
}

Button Confirmation - Script Codes JS Codes

$('button').click(function(){ $(this).text('').removeClass('success').addClass('loading').delay(1000).queue(function(){ $(this).removeClass("loading").dequeue().addClass('success');	});
});
Button Confirmation - Script Codes
Button Confirmation - Script Codes
Home Page Home
Developer Larry Geams Parangan
Username larrygeams
Uploaded September 13, 2022
Rating 3.5
Size 2,176 Kb
Views 36,432
Do you need developer help for Button Confirmation?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Larry Geams Parangan (larrygeams) Script Codes
Create amazing love letters with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!