Peeky Password
How do I make an peeky password?
A password input with a button that toggles obfuscation by changing the input type. This allows the user to show/hide their password.. What is a peeky password? How do you make a peeky password? This script and codes were developed by Lukejacksonn on 30 November 2022, Wednesday.
Peeky Password - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Peeky Password</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <h1>Peeky Password</h1>
<password> <input type="password" placeholder="Password" value="Password123"> <button></button>
</password> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Peeky Password - Script Codes CSS Codes
password { position: relative; display: block; width: 300px; height: 50px;
}
input { width: 100%; height: 100%; padding: 10px; font-size: 16px; outline: 0;
}
button { position: absolute; height: 100%; width: 50px; top: 0; right: 0; background: #424242; cursor: pointer; border: 0; padding: 0; margin: 0; outline: 0;
}
button::before,
button::after { content:''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; margin: auto;
}
/* Eye open */
input[type='password'] + button::before { width: 20px; height: 20px; background: #e0e0e0; border-radius: 15px 0 15px 0; -webkit-transform: rotate(45deg); transform: rotate(45deg); -webkit-transition: height .168s; transition: height .168s;
}
/* Pupil open */
input[type='password'] + button::after { width: 10px; height: 10px; border-radius: 50%; background: #424242;
}
/* Eye closed */
input[type='text'] + button::before { width: 15px; height: 15px; background: transparent; border: 3px solid #e0e0e0; border-radius: 15px 0 15px 0; -webkit-transform: rotate(45deg); transform: rotate(45deg);
}
/* Pupil closed */
input[type='text'] + button::after { width: 3px; height: 30px; border-radius: 0; -webkit-transform: rotate(30deg); transform: rotate(30deg); background: #e0e0e0; -webkit-transition: height .132s; transition: height .132s;
}
/* Demo Styles */
* { box-sizing: border-box;
}
html, body { height: 100%; background: #212121;
}
body { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center;
}
h1 { color: #fff; font-family: helvetica, sans-serif; font-size: 24px; font-weight: bold; margin-bottom: 36px;
}
Peeky Password - Script Codes JS Codes
$('button').on('click', function() { var $inp = $('input'); $inp.attr('type') === 'password' ? $inp.attr('type', 'text') : $inp.attr('type', 'password')
});
Developer | Lukejacksonn |
Username | lukejacksonn |
Uploaded | November 30, 2022 |
Rating | 4.5 |
Size | 2,409 Kb |
Views | 16,192 |
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!
Name | Size |
Pinger | 4,434 Kb |
Favorite Heart | 2,921 Kb |
Actuate.js | 2,804 Kb |
A Pen by lukejacksonn | 2,538 Kb |
Nice Random Colors | 3,005 Kb |
Flexbox Masonry | 6,547 Kb |
GreedyNav Update | 3,007 Kb |
Lorem Ipsum Generator | 3,057 Kb |
Flex Gallery | 2,659 Kb |
Perspective Generator | 4,313 Kb |
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!
Name | Username | Size |
A simple log in form made with css | Mayurelbhar | 2,160 Kb |
STIKHOI | Denmch | 7,122 Kb |
Direction-icon | Alexandremasy | 3,323 Kb |
A Pen by Brendan Skousen | Bskousen | 2,954 Kb |
Drag n Drop | Martin42 | 2,594 Kb |
Animated Logo | Shakdaniel | 2,672 Kb |
Animated Vertical CSS3 Menu Black | MaCeLMp4 | 2,750 Kb |
SVG Modified with Query String | Jnowland | 1,663 Kb |
Material design - button rainbow circle | Kunukn | 3,652 Kb |
Playing with transition timing | Mattgrosswork | 1,993 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!