File tree Expand file tree Collapse file tree 3 files changed +166
-1
lines changed Expand file tree Collapse file tree 3 files changed +166
-1
lines changed Original file line number Diff line number Diff line change 39
39
| 32 | [ Search Widget] ( https://github.com/sahilatahar/HTML-CSS-JavaScript/tree/main/search-widget ) | [ Live Demo] ( https://sahilatahar.github.io/HTML-CSS-JavaScript/search-widget/ ) |
40
40
| 33 | [ Feedback UI] ( https://github.com/sahilatahar/HTML-CSS-JavaScript/tree/main/feedback-ui ) | [ Live Demo] ( https://sahilatahar.github.io/HTML-CSS-JavaScript/feedback-ui/ ) |
41
41
| 34 | [ Hover Board] ( https://github.com/sahilatahar/HTML-CSS-JavaScript/tree/main/hover-board ) | [ Live Demo] ( https://sahilatahar.github.io/HTML-CSS-JavaScript/hover-board/ ) |
42
-
42
+ | 35 | [ Login Form ] ( https://github.com/sahilatahar/HTML-CSS-JavaScript/tree/main/login-form ) | [ Live Demo ] ( https://sahilatahar.github.io/HTML-CSS-JavaScript/login-form/ ) |
43
43
44
44
45
45
### Disclaimer Regarding Ownership of this repository
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html lang ="en ">
3
+
4
+ < head >
5
+ < meta charset ="UTF-8 ">
6
+ < meta http-equiv ="X-UA-Compatible " content ="IE=Edge ">
7
+ < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
8
+
9
+ < title > Login Form</ title >
10
+
11
+ <!-- External Styles -->
12
+ < link rel ="stylesheet " href ="style.css ">
13
+ </ head >
14
+
15
+ < body >
16
+ < div class ="container ">
17
+ < form class ="form-container ">
18
+ < div class ="header ">
19
+ < img src ="https://cdn.pixabay.com/photo/2014/04/02/10/47/red-304573_960_720.png " alt ="brand logo " class ="logo ">
20
+ < h1 class ="brand-title "> Rambowist</ h1 >
21
+ </ div >
22
+ < div class ="form-group ">
23
+ < label > Email or Username</ label >
24
+ < input type ="text " name ="username ">
25
+ </ div >
26
+ < div class ="form-group ">
27
+ < label > Password</ label >
28
+ < input type ="password " name ="password ">
29
+ </ div >
30
+ < button type ="submit " class ="signin-btn "> Sign in</ button >
31
+ </ form >
32
+
33
+ < div class ="options ">
34
+ < p > Forget your password?</ p >
35
+ < p > Sign in with company or school</ p >
36
+ </ div >
37
+
38
+ < hr class ="divider ">
39
+
40
+ < footer class ="form-footer ">
41
+ < button class ="new-ac-btn "> Create an Account</ button >
42
+
43
+ < div class ="disclamer-block ">
44
+ < p > Copyright © 2023 Form LLC. All right reserved.</ p >
45
+ < p > < u > Terms of use</ u > | < u > Privacy Policy</ u > </ p >
46
+ </ div >
47
+ </ footer >
48
+ </ div >
49
+ </ body >
50
+
51
+ </ html >
Original file line number Diff line number Diff line change
1
+ * {
2
+ padding : 0 ;
3
+ margin : 0 ;
4
+ box-sizing : border-box;
5
+ font-family : Verdana, Geneva, Tahoma, sans-serif;
6
+ }
7
+
8
+ body {
9
+ background : rgba (0 , 0 , 0 , 0.95 );
10
+ color : white;
11
+ }
12
+
13
+ .container {
14
+ width : min (400px , 90vw );
15
+ margin : auto;
16
+ margin-top : 3rem ;
17
+ display : flex;
18
+ flex-direction : column;
19
+ }
20
+
21
+ .form-container {
22
+ width : 100% ;
23
+ display : flex;
24
+ flex-direction : column;
25
+ }
26
+
27
+ .header {
28
+ height : 60px ;
29
+ display : flex;
30
+ align-items : center;
31
+ gap : 2rem ;
32
+ justify-content : center;
33
+ margin-bottom : 2rem ;
34
+ }
35
+
36
+ .logo {
37
+ height : 80% ;
38
+ aspect-ratio : 1 ;
39
+ border-radius : 50% ;
40
+ -webkit-border-radius : 50% ;
41
+ -moz-border-radius : 50% ;
42
+ -ms-border-radius : 50% ;
43
+ -o-border-radius : 50% ;
44
+ object-fit : cover;
45
+ }
46
+
47
+ .brand-title {
48
+ text-align : center;
49
+ text-transform : uppercase;
50
+ font-size : 1.5rem ;
51
+ }
52
+
53
+ .form-group {
54
+ display : flex;
55
+ flex-direction : column;
56
+ gap : 0.2rem ;
57
+ margin-bottom : 1rem ;
58
+ }
59
+
60
+ .form-group > input {
61
+ padding : 0.5rem ;
62
+ border : 1px solid grey;
63
+ outline : none;
64
+ border-radius : 3px ;
65
+ background : transparent;
66
+ color : white;
67
+ }
68
+
69
+ .signin-btn {
70
+ width : 100% ;
71
+ background : # 006395 ;
72
+ color : white;
73
+ padding : 0.5rem ;
74
+ border : none;
75
+ font-size : 1rem ;
76
+ border-radius : 3px ;
77
+ }
78
+
79
+ .options {
80
+ padding-top : 3rem ;
81
+ }
82
+
83
+ .options p {
84
+ color : # 0a88c7 ;
85
+ text-align : center;
86
+ margin-bottom : 1.5rem ;
87
+ font-size : 0.9rem ;
88
+ }
89
+
90
+ .divider {
91
+ border : 0.7px solid grey;
92
+ }
93
+
94
+ .new-ac-btn {
95
+ width : 100% ;
96
+ padding : 0.5rem ;
97
+ color : white;
98
+ background-color : grey;
99
+ border : none;
100
+ outline : none;
101
+ font-size : 1rem ;
102
+ margin-top : 2rem ;
103
+ border-radius : 3px ;
104
+ }
105
+
106
+ .disclamer-block {
107
+ padding-top : 2rem ;
108
+ text-align : center;
109
+ margin-bottom : 1rem ;
110
+ }
111
+
112
+ .disclamer-block > p {
113
+ font-size : 0.8rem ;
114
+ }
You can’t perform that action at this time.
0 commit comments