Subscription Form

Developer
Size
2,069 Kb
Views
18,216

How do I make an subscription form?

Simple, Pure CSS Flat UI based Subscribe form... What is a subscription form? How do you make a subscription form? This script and codes were developed by Jeya Karthika on 26 November 2022, Saturday.

Subscription Form Previews

Subscription Form - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Subscription Form</title> <script src="//use.edgefonts.net/source-sans-pro:n2,i2,n3,i3,n4,i4,n6,i6,n7,i7,n9,i9:all.js"></script> <link rel="stylesheet" href="css/style.css">
</head>
<body> <h1> Subscription Form
</h1>
<div> <form action=""> <input type="text" name="name" class="formStyle" placeholder="Name (required)" required /> <input type="email" name="email" class="formStyle" placeholder="Email (required)" required /> <a href="#" class="formButton">Subscribe</a> </form>
</div>
</body>
</html>

Subscription Form - Script Codes CSS Codes

body { background-color: #2ecc71; font-family: source-sans-pro, sans-serif;
}
h1 { margin-left: auto; margin-top: 50px; text-align: center; font-weight: 100; font-size: 2.8em; color: #ffffff;
}
div { width: 500px; margin: auto;
}
.formStyle { background-color: #2ecc71; padding: 20px; width: 400px; margin-bottom: 20px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #ecf0f1; border-top-style: none; border-right-style: none; border-left-style: none; font-size: 1em; font-weight: 100; color: #ffffff;
}
.formButton { float: right;	background-color:#ffffff;	display:inline-block;	color:#2ecc71;	font-size:28px;	font-weight: 500;	padding:6px 24px; margin-top: 15px; margin-right: 60px;	text-decoration:none;
}
.formButton:hover {	background-color: #27ae60; color:#ffffff;
}
.formButton:active {	position:relative;	top:3px;
}
/*To remove the outline that appears on clicking the input textbox*/
input:focus { outline: none;
}
/* To format the placeholder text color */
::-webkit-input-placeholder { color: #ecf0f1;
}
:-moz-placeholder { /* Firefox 18- */ color: #ecf0f1;
}
::-moz-placeholder { /* Firefox 19+ */ color: #ecf0f1;
}
:-ms-input-placeholder { color: #ecf0f1;
}
Subscription Form - Script Codes
Subscription Form - Script Codes
Home Page Home
Developer Jeya Karthika
Username jeyakarthika
Uploaded November 26, 2022
Rating 3.5
Size 2,069 Kb
Views 18,216
Do you need developer help for Subscription Form?

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!

Jeya Karthika (jeyakarthika) Script Codes
Create amazing blog posts 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!