Material Design Input Placeholder
How do I make an material design input placeholder?
What is a material design input placeholder? How do you make a material design input placeholder? This script and codes were developed by Elmer Balbin on 22 January 2023, Sunday.
Material Design Input Placeholder - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Material Design Input Placeholder</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id="wrapper"> <form> <input class="field" placeholder="Username" type="text" required=""> <input class="field" placeholder="Password" type="password" required=""> <input class="submit" type="submit" value="Login"> </form>
</div>
</body>
</html>
Material Design Input Placeholder - Script Codes CSS Codes
#wrapper { width: 100%; max-width: 300px; height: 200px; box-sizing: border-box; position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: auto;
}
.field { margin: 25px auto; width: 200px; display: block; border: none; padding: 10px 0; border-bottom: solid 1px #1abc9c; transition: all 0.3s cubic-bezier(0.64, 0.09, 0.08, 1); background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 96%, #1abc9c 4%); background-position: -200px 0; background-size: 200px 100%; background-repeat: no-repeat; color: #0e6252;
}
.field::-webkit-input-placeholder { transition: all 0.3s ease-in-out;
}
.field:focus { box-shadow: none; outline: none; background-position: 0 0;
}
.field:focus::-webkit-input-placeholder { color: #1abc9c; font-size: 11px; transform: translateY(-20px); visibility: visible !important;
}
.submit { display: block; margin: 25px auto; box-sizing: border-box; padding: 10px 30px; background-color: #1abc9c; border: 1px solid #1abc9c; color: #FFF; border-radius: 3px; font-size: 14px; cursor: pointer; transition: all 0.3s ease-in-out;
}
.submit:hover { background-color: #FFF; color: #1abc9c;
}
Developer | Elmer Balbin |
Username | elmzarnsi |
Uploaded | January 22, 2023 |
Rating | 3 |
Size | 1,925 Kb |
Views | 6,072 |
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 |
Some button hover effects | 1,833 Kb |
Collapsed div borders using CSS3 box-shadow | 1,490 Kb |
Self-Caricature SVG Animation | 5,943 Kb |
Direction Aware Tiles using clip-path Pure CSS | 3,904 Kb |
Material Design Card Flip - Direction Aware | 3,689 Kb |
Simple hover color slide effect | 1,650 Kb |
My Profile CSS | 3,355 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 |
Brown by pure CSS, no image, no javascript | Aaronchuo | 2,652 Kb |
TigerWoods Freecodecamp Page | Baileytj | 2,869 Kb |
Login-ng-modal | Heedoo | 3,566 Kb |
A Pen by Matt Popovich | Mpopv | 3,349 Kb |
Midterm dry run | Jds317 | 1,649 Kb |
Countdown with Rings | Ewganoel | 2,490 Kb |
Resize image | Happyhj | 1,892 Kb |
Acorrdian 2016 | Milanodituti | 3,720 Kb |
Monochrome Form | AlienPiglet | 3,096 Kb |
Social buttons | Flacu | 2,022 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!