Simple login form html css

Содержание
  1. Simple Login form using HTML and CSS
  2. Demo
  3. Simple Login form using HTML CSS (source code)
  4. How TO — Login Form
  5. How To Create a Login Form
  6. Example
  7. Example
  8. How To Create a Modal Login Form
  9. Example
  10. Example
  11. Example
  12. 36 CSS Login Forms
  13. Related Articles
  14. Author
  15. Links
  16. Made with
  17. About a code
  18. Hacker Login Form
  19. Author
  20. Links
  21. Made with
  22. About a code
  23. Finance Mobile Application-UX/UI Design Screen One
  24. Author
  25. Links
  26. Made with
  27. About a code
  28. Login Form
  29. Author
  30. Links
  31. Made with
  32. About a code
  33. Glassmorphism Login Form
  34. Author
  35. Links
  36. Made with
  37. About a code
  38. Sign Up / Login Form
  39. Author
  40. Links
  41. Made with
  42. About a code
  43. Creative and Customizable Registration Form
  44. Author
  45. Links
  46. Made with
  47. About a code
  48. eCommerce Registraion Form
  49. Author
  50. Links
  51. Made with
  52. About a code
  53. Registration Form #18
  54. Author
  55. Links
  56. Made with
  57. About a code
  58. Sign Up Form #26
  59. Author
  60. Links
  61. Made with
  62. About a code
  63. Sign Up Form #7
  64. Author
  65. Links
  66. Made with
  67. About a code
  68. Glassmorphism Login Form
  69. Author
  70. Links
  71. Made with
  72. About the code
  73. Sign Up Modal
  74. Author
  75. Links
  76. Made with
  77. About the code
  78. Double Slider Sign In/Up Form
  79. Author
  80. Links
  81. Made with
  82. About the code
  83. Login Form
  84. Author
  85. Links
  86. Made with
  87. About the code
  88. Simple Registration Form
  89. Author
  90. Links
  91. Made with
  92. About the code
  93. Login Modal Form
  94. Author
  95. Links
  96. Made with
  97. About the code
  98. Cube Login Form
  99. Author
  100. Links
  101. Made with
  102. About the code
  103. Login Form with Floating Labels
  104. Author
  105. Links
  106. Made with
  107. About the code
  108. Prismatic Forms
  109. Author
  110. Links
  111. Made with
  112. About the code
  113. Login Form Animation
  114. Author
  115. Links
  116. Made with
  117. About the code
  118. Login/Sign Up Form Animation
  119. Author
  120. Links
  121. Made with
  122. About the code
  123. Form UI Animation
  124. Author
  125. Simple Login and Registration Form Using HTML CSS
  126. Login and Registration Form HTML CSS
  127. How to create login and registration form
  128. Step 1: Create the basic structure of this login form
Читайте также:  Javascript для сенсорных экранов

Simple Login form using HTML and CSS

Hello guys, Today in this post we’ll learn How to Create a Simple Login Form using HTML and CSS. Hope you enjoy this post. A login form is one of the most important component of a website or app that allows authorized users to access an entire site or a part of a website. You would have already seen them when visiting a website. Let’s head to create it Whether it’s a signup form or login form, it should be catchy, user-friendly and easy to use. These types of Forms lead to increased sales, lead generation, and customer growth.

Demo

Simple Login form using HTML CSS (source code)

       

Login

Don't have an accout? Create One

body < background-color: #020202; font-size: 1.6rem; font-family: "Open Sans", sans-serif; color: #2b3e51; >h2 < font-weight: 300; text-align: center; >p < position: relative; >a, a:link, a:visited, a:active < color: #ff9100; -webkit-transition: all 0.2s ease; transition: all 0.2s ease; >a:focus, a:hover, a:link:focus, a:link:hover, a:visited:focus, a:visited:hover, a:active:focus, a:active:hover < color: #ff9f22; -webkit-transition: all 0.2s ease; transition: all 0.2s ease; >#login-form-wrap < background-color: #fff; width: 16em; margin: 30px auto; text-align: center; padding: 20px 0 0 0; border-radius: 4px; box-shadow: 0px 30px 50px 0px rgba(0, 0, 0, 0.2); >#login-form < padding: 0 60px; >input < display: block; box-sizing: border-box; width: 100%; outline: none; height: 60px; line-height: 60px; border-radius: 4px; >#email, #password < width: 100%; padding: 0 0 0 10px; margin: 0; color: #8a8b8e; border: 1px solid #c2c0ca; font-style: normal; font-size: 16px; -webkit-appearance: none; -moz-appearance: none; appearance: none; position: relative; display: inline-block; background: none; >#email:focus, #password:focus < border-color: #3ca9e2; >#email:focus:invalid, #password:focus:invalid < color: #cc1e2b; border-color: #cc1e2b; >#email:valid ~ .validation, #password:valid ~ .validation < display: block; border-color: #0C0; >#email:valid ~ .validation span, #password:valid ~ .validation span < background: #0C0; position: absolute; border-radius: 6px; >#email:valid ~ .validation span:first-child, #password:valid ~ .validation span:first-child < top: 30px; left: 14px; width: 20px; height: 3px; -webkit-transform: rotate(-45deg); transform: rotate(-45deg); >#email:valid ~ .validation span:last-child #password:valid ~ .validation span:last-child < top: 35px; left: 8px; width: 11px; height: 3px; -webkit-transform: rotate(45deg); transform: rotate(45deg); >.validation < display: none; position: absolute; content: " "; height: 60px; width: 30px; right: 15px; top: 0px; >input[type="submit"] < border: none; display: block; background-color: #ff9100; color: #fff; font-weight: bold; text-transform: uppercase; cursor: pointer; -webkit-transition: all 0.2s ease; transition: all 0.2s ease; font-size: 18px; position: relative; display: inline-block; cursor: pointer; text-align: center; >input[type="submit"]:hover < background-color: #ff9b17; -webkit-transition: all 0.2s ease; transition: all 0.2s ease; >#create-account-wrap

Источник

How TO — Login Form

Learn how to create a responsive login form with CSS.

Click on the button to open the login form:

How To Create a Login Form

Step 1) Add HTML:

Add an image inside a container and add inputs (with a matching label) for each field. Wrap a element around them to process the input. You can learn more about how to process input in our PHP tutorial.

Example

Avatar
Step 2) Add CSS:

Example

/* Bordered form */
form border: 3px solid #f1f1f1;
>

/* Full-width inputs */
input[type=text], input[type=password] width: 100%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
box-sizing: border-box;
>

/* Set a style for all buttons */
button background-color: #04AA6D;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 100%;
>

/* Add a hover effect for buttons */
button:hover opacity: 0.8;
>

/* Extra style for the cancel button (red) */
.cancelbtn width: auto;
padding: 10px 18px;
background-color: #f44336;
>

/* Center the avatar image inside this container */
.imgcontainer text-align: center;
margin: 24px 0 12px 0;
>

/* Avatar image */
img.avatar width: 40%;
border-radius: 50%;
>

/* Add padding to containers */
.container padding: 16px;
>

/* The «Forgot password» text */
span.psw float: right;
padding-top: 16px;
>

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) span.psw display: block;
float: none;
>
.cancelbtn width: 100%;
>
>

How To Create a Modal Login Form

Step 1) Add HTML:

Example

Step 2) Add CSS:

Example

/* The Modal (background) */
.modal display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
padding-top: 60px;
>

/* Modal Content/Box */
.modal-content background-color: #fefefe;
margin: 5px auto; /* 15% from the top and centered */
border: 1px solid #888;
width: 80%; /* Could be more or less, depending on screen size */
>

/* The Close Button */
.close /* Position it in the top right corner outside of the modal */
position: absolute;
right: 25px;
top: 0;
color: #000;
font-size: 35px;
font-weight: bold;
>

/* Close button on hover */
.close:hover,
.close:focus color: red;
cursor: pointer;
>

/* Add Zoom Animation */
.animate -webkit-animation: animatezoom 0.6s;
animation: animatezoom 0.6s
>

Tip: You can also use the following javascript to close the modal by clicking outside of the modal content (and not just by using the «x» or «cancel» button to close it):

Example

// When the user clicks anywhere outside of the modal, close it
window.onclick = function(event) if (event.target == modal) modal.style.display = «none»;
>
>

Tip: Go to our HTML Form Tutorial to learn more about HTML Forms.

Tip: Go to our CSS Form Tutorial to learn more about how to style form elements.

Ever heard about W3Schools Spaces? Here you can create your website from scratch or use a template, and host it for free.

Источник

36 CSS Login Forms

Discover a collection of stylish and functional CSS login forms for your website from CodePen, GitHub, and other resources. Our update includes eight new items that will enhance your website’s user experience and improve the login process.

In today’s world, where most interactions take place online, creating a user-friendly and functional login form is crucial for any website or application. In this collection, we will explore some of the best pure CSS login forms available for free on the web, along with their features and benefits. Whether you’re a web developer or designer, these login forms are sure to inspire and help you create a seamless login experience for your users.

Demo image: Hacker Login Form

  1. Bootstrap Login Forms

Author

Made with

About a code

Hacker Login Form

The Hacker Login Form is a unique and creative login form designed to resemble a hacker’s terminal. Overall, the Hacker Login Form is a fun and engaging login form that can add a unique touch to any website or application.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Demo image: Finance Mobile Application-UX/UI Design Screen One

Author

Made with

About a code

Finance Mobile Application-UX/UI Design Screen One

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Demo image: Login Form

Author

Made with

About a code

Login Form

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Demo image: Glassmorphism Login Form

Author

Made with

About a code

Glassmorphism Login Form

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Author

Made with

About a code

Sign Up / Login Form

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Demo image: Creative and Customizable Registration Form

Author

Made with

About a code

Creative and Customizable Registration Form

The form is fully customizable, allowing you to add or remove fields as per your requirements. You can also change the color scheme and fonts to match your brand’s identity. The form is easy to use and navigate, making it a great choice for users.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Demo image: eCommerce Registraion Form

Author

Made with

About a code

eCommerce Registraion Form

The form’s modern design and responsive layout make it a great addition to any website looking to improve its user experience.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Demo image: Registration Form #18

Author

Made with

About a code

Registration Form #18

A modern and stylish registration form template that can be easily customized to fit any website. With its clean design and user-friendly interface, this form is perfect for collecting user information and creating a seamless registration process. It includes fields for name, email, password, and more.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Demo image: Sign Up Form #26

Author

Made with

About a code

Sign Up Form #26

A modern and stylish registration form template that can be used for various purposes. It features a clean and minimal design with a beautiful color scheme that can be customized to match your brand. The form includes fields for name, email, password, and confirmation, as well as a submit button. The template is fully responsive and can be easily integrated into your website or application.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Demo image: Sign Up Form #7

Author

Made with

About a code

Sign Up Form #7

Instead of getting one free creative signup form template, this bundle offers you two lovely alternatives to play with.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Demo image: Glassmorphism Login Form

Author

Made with

About a code

Glassmorphism Login Form

The form has a transparent glass-like effect with a blurred background, giving it a sleek and elegant look. The form has a username and password input field with attractive focus effect, making it easy for users to interact with.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Author

Made with

About the code

Sign Up Modal

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: bootstrap.css, jquery.js, bootstrap.js, popper.js

Author

Made with

About the code

Double Slider Sign In/Up Form

Double slider login form in HTML, CSS and JavaScript.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Author

Made with

About the code

Login Form

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Author

Made with

About the code

Simple Registration Form

Simple HTML and CSS registration form with validation.

Compatible browsers: Chrome, Firefox, Opera, Safari

Author

Made with

About the code

Login Modal Form

HTML and CSS modal login form with little JavaScript.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Demo image: Cube Login Form

Author

Made with

About the code

Cube Login Form

Pure CSS cube buttons and inputs for login form with gradien styles.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Demo image: Login Form with Floating Labels

Author

Made with

About the code

Login Form with Floating Labels

Pure CSS login form with floating labels.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Demo image: Prismatic Forms

Author

Made with

About the code

Prismatic Forms

Prismatic login, sign up and other forms.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Demo image: Login Form Animation

Author

Made with

About the code

Login Form Animation

Login page animation template created with CSS3 and vanilla JavaScript DOM elements. Will surely try to upgrade it with more better animation effects.

Compatible browsers: Chrome, Firefox, Opera, Safari

Demo image: Login/Sign Up Form Animation

Author

Made with

About the code

Login/Sign Up Form Animation

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Author

Made with

About the code

Form UI Animation

Form transitions UI based on Dominik Markušić dribble.

Author

Источник

Simple Login and Registration Form Using HTML CSS

Foolish Developer

In this article, I am going to show you how to create a login and register form of Neumorphism design using HTML, CSS, and Jquery code. Earlier I shared with you the design of many more types of login forms. Hope you like this design login form like other designs.

Basically different forms are created for login and registration on different websites. In the meantime, I have shown you how to create a separate login and registration form . In this article, I have created a place to log in and register in a form.

This form allows the user to log in and creates a new account. I used HTML and CSS programming code to design to enhance its structure. A small amount of JQuery programming code is used here to execute the login and registration button above.

I have added social media icon in the login form. This login form is arranged in the form of a Neumorphism design.

Login and Registration Form HTML CSS

If you want to know how it works, you can watch the demo below. You can copy the source code needed to create it from the demo site below and use it for your work.

But if you are a beginner and want to know how to create a login and registration form at the same time, you must follow the tutorial below. In the tutorial below I have shown step by step how I made this design. After each step, I have shown the result so it will be useful for you to understand.

See the Pen
login & sign by Foolish Developer (@fghty)
on CodePen.

First, you create an HTML and CSS file. Then combine the HTML file and the CSS file with each other. You add the JQuery plugin here .

How to create login and registration form

Basically, we know that the JQuery programming code works with the JQuery plugin. So you must add the following JQuery plugin in the head section of your HTML file.

Step 1: Create the basic structure of this login form

The HTML programming code below is basically the basic structure for creating this registration form. You can copy this structure and add it to your HTML file.

Basically, the following codes have helped to design the background of this login form and give a certain size to this login form. As I said before, Neumorphism design has been used in this form. CSS programming code has been used to enhance this design.

Источник

Оцените статью