Underlined form fields
How do I make an underlined form fields?
Just working on classing up some form fields, yo.. What is a underlined form fields? How do you make a underlined form fields? This script and codes were developed by Mitch Pruitt on 08 November 2022, Tuesday.
Underlined form fields - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Underlined form fields</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <body> <div class="container"> <form> <h1>Underlined form</h1> <div class="form-item"> <label for="name"><span class="entypo-user"></span></label><input name="name" type="text" placeholder="Name" required autofocus></input> </div> <div class="form-item"> <label for="email"><span class="entypo-mail"></span></label><input name="email" type="email" placeholder="Email" required></input> </div> <div class="form-item"> <label for="phone"><span class="entypo-mobile"></span></label><input name="phone" type="tel" placeholder="Phone" required></input> </div> <div class="form-item"> <label for="password"><span class="entypo-lock"></span></label><input name="password" type="password" placeholder="Password" required></input> </div> <div class="form-item"> <label for="password-confirm"><span class="entypo-lock"></span></label><input name="password-confirm" type="password" placeholder="Retype password" required></input> </div> <a href="#"> <div class="button"><p class="btn-title">Aight</p></div> </a> </form> </div>
</body>
</body>
</html>
Underlined form fields - Script Codes CSS Codes
@import url(http://weloveiconfonts.com/api/?family=entypo);
/* entypo */
[class*="entypo-"]:before { font-family: 'entypo', sans-serif;
}
* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}
body { background-color: #ccc; background-image: url(https://subtlepatterns.com/patterns/grid.png); font: 16px "Helvetica Neue"; font-weight: 200; letter-spacing: 1.5px;
}
.container { width: 360px; background-image: url(https://subtlepatterns.com/patterns/lightpaperfibers.png); background-color: #fff; margin: 40px auto auto; padding: 8px 0 20px 0; border-radius: 4px; -webkit-box-shadow: 1px 1px 2px 0px rgba(155, 155, 155, .75); box-shadow: 1px 1px 2px 0px rgba(155, 155, 155, .75);
}
form { width: 80%; margin: auto;
}
.form-item { margin: 18px auto; border-bottom: 1px solid #000; overflow: hidden;
}
label { float: left; width: 20px; margin-right: 10px; text-align: center;
}
input { float: left; width: 89%; padding: 0 0 6px 0; background-color: #fff; color: #000; font: 16px "Helvetica Neue"; font-weight: 200; letter-spacing: 1.5px; outline: none; border: none;
}
input::-webkit-input-placeholder { padding: 0; color: #999999; font-weight: 200;
}
input:-moz-placeholder { color: #cdcdcd; font-weight: 200;
}
input:-ms-input-placeholder { color: #cdcdcd; font-weight: 200;
}
.button { background-color: #fff; color: #000; width: 100%; margin: 30px auto auto; padding: 8px; border: 1px solid #000; border-radius: 4px; -webkit-transition: all 150ms cubic-bezier(0.420, 0.000, 1.000, 1.000); -moz-transition: all 150ms cubic-bezier(0.420, 0.000, 1.000, 1.000); -ms-transition: all 150ms cubic-bezier(0.420, 0.000, 1.000, 1.000); -o-transition: all 150ms cubic-bezier(0.420, 0.000, 1.000, 1.000); transition: all 150ms cubic-bezier(0.420, 0.000, 1.000, 1.000); /* ease-in */
}
.button:hover { background-color: #000; color: #fff;
}
.btn-title { margin: auto; text-align: center; text-transform: uppercase;
}
h1 { font-weight: 300;
}
a { text-decoration: none;
}
Developer | Mitch Pruitt |
Username | mitchdot |
Uploaded | November 08, 2022 |
Rating | 3 |
Size | 2,323 Kb |
Views | 12,144 |
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 |
Sliding image | 2,497 Kb |
The Iron Triangle | 2,997 Kb |
Animated camera focus ring | 3,305 Kb |
Threadless-style rollover menu | 2,195 Kb |
Image header overlay | 2,188 Kb |
Simple responsive drop-down menu | 2,178 Kb |
Snazzy fixed backgrounds | 4,927 Kb |
Zoomy image rollover | 2,764 Kb |
Sooper cool article header image | 3,583 Kb |
Sample project gallery | 2,987 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 Different Type of Gallery | DonPage | 2,950 Kb |
Buttons with style | Chbymnky | 2,082 Kb |
Michelle, submit your photography to Unsplash. | Zaneriley | 3,368 Kb |
Spinners using Font Icons | Keyamoon | 3,007 Kb |
Content Changer | Cliffpyles | 4,538 Kb |
No Vacancy 404 CSS Only | Sethkontny | 0 Kb |
Amazing CSS Menu with Notification Badges | Faizanasad | 2,549 Kb |
BabyStore | Pablo-Ai | 3,807 Kb |
Fluid Grid 12 | Alexoliverwd | 2,309 Kb |
Barber Shop | Bhlaird | 6,270 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!