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 |
Animated camera focus ring | 3,305 Kb |
Zoomy image rollover | 2,764 Kb |
Off-screen navigation | 5,220 Kb |
West Eastern Divan rollover | 2,963 Kb |
ThisIsMyJam Player | 5,945 Kb |
Snazzy fixed backgrounds | 4,927 Kb |
Flexbox quote box | 3,441 Kb |
Image caption overlay | 2,107 Kb |
Underlined form fields | 2,323 Kb |
Sliding image | 2,497 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 |
TweenMax transformOrigin Bubble | Nicolund | 2,209 Kb |
Pink expansion tunnel | Vez | 1,738 Kb |
A Pen by Sooba | Sooba | 2,516 Kb |
PNotify Demo | Adittmar | 1,731 Kb |
Sitemap generator for Sharepoint | Gyusza | 2,518 Kb |
CSS background-size - GSAP | Jonathan | 2,209 Kb |
Css3 only dropdown menu | Riogrande | 2,519 Kb |
TestTube CSS | EZPK | 2,710 Kb |
Sass Radar | Jlong | 6,887 Kb |
Image Stack Test SCSS | CalvinMorett | 2,799 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!