Simple Form with Icons

Size
2,071 Kb
Views
22,264

How do I make an simple form with icons?

Just a simple form using div to create icons.. What is a simple form with icons? How do you make a simple form with icons? This script and codes were developed by Hélio Marcondes on 09 November 2022, Wednesday.

Simple Form with Icons Previews

Simple Form with Icons - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Simple Form with Icons</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <body> <fieldset> <h1>Login</h1> <form> <div class="iconUser"></div> <input type="text" placeholder="Username" required> <div class="iconPassword"></div> <input type="password" placeholder="Password" required> <input type="submit" value="Enter"> </form> </fieldset> </body>
</body>
</html>

Simple Form with Icons - Script Codes CSS Codes

@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,700);
*{ padding:0; margin:0;
}
body{ font-family:'Open Sans',sans-serif;
}
fieldset{ width:400px; margin:0 auto; margin-top:8px; margin-bottom:2%; transition:opacity 1s; -webkit-transition:opacity 1s;
}
h1{ background:#004A3E; padding:20px 0; /*PADDING TODOS OS LADOS DE 20PX*/ font-size:140%; font-weight:300; text-align:center; color:#fff;
}
form{ background:#f0f0f0; padding:6% 4%;
}
input[type="password"]{ width:76%; height:20px; margin-bottom:4%; border:1px solid #ccc; padding:4% 4% 4% 4%; font-family:'Open Sans',sans-serif; font-size:95%; color:#555;
}
.iconPassword{ width:20px; height:20px; background-color:#004A3E; float:left; padding:4% 4% 4% 4%; margin-bottom:4%; background-repeat:no-repeat; background-image:url(https://cdn4.iconfinder.com/data/icons/font-awesome-2/2048/f09c-32.png); background-position:center; border:1px solid #ccc;
}
.iconUser{ width:20px; height:20px; background-color:#004A3E; float:left; padding:4% 4% 4% 4%; margin-bottom:4%; background-repeat:no-repeat; background-image:url(https://cdn4.iconfinder.com/data/icons/font-awesome-2/2048/f007-32.png); background-position:center; border:1px solid #ccc;
}
input[type="text"]{ width:76%; height:20px; margin-bottom:4%; border:1px solid #ccc; padding:4% 4% 4% 4%; font-family:'Open Sans',sans-serif; font-size:95%; color:#555;
}
input[type="submit"]{ width:100%; background:#004A3E; border:0; padding:4%; font-family:'Open Sans',sans-serif; font-size:100%; color:#fff; cursor:pointer; transition:background .3s; -webkit-transition:background .3s;
}
input[type="submit"]:hover{ background:#53B9A8;
}
::-webkit-input-placeholder {
}
Simple Form with Icons - Script Codes
Simple Form with Icons - Script Codes
Home Page Home
Developer Hélio Marcondes
Username haykou
Uploaded November 09, 2022
Rating 3
Size 2,071 Kb
Views 22,264
Do you need developer help for Simple Form with Icons?

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!

Hélio Marcondes (haykou) Script Codes
Create amazing video scripts 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!