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 30 January 2022, Sunday.

How do I make an subscription form?
  1. Subscription Form Previews
  2. Subscription Form HTML Codes
  3. Subscription Form CSS Codes
Subscription Form Previews

Subscription Form HTML Codes

<!DOCTYPE html>
<html >
  <meta charset="UTF-8">
  <title>Subscription Form</title>
  <script src="//,i2,n3,i3,n4,i4,n6,i6,n7,i7,n9,i9:all.js"></script>
      <link rel="stylesheet" href="css/style.css">


  Subscription Form

  <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>

Subscription Form 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;
	font-weight: 500;
	padding:6px 24px;
  margin-top: 15px;
  margin-right: 60px;

.formButton:hover {
	background-color: #27ae60;

.formButton:active {

/*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;  
Do you want hide your ip address?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.