Last change
on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 6 days ago |
Upload project files
|
-
Property mode
set to
100644
|
File size:
1.6 KB
|
Line | |
---|
1 | * {
|
---|
2 | margin: 0;
|
---|
3 | padding: 0;
|
---|
4 | }
|
---|
5 |
|
---|
6 | body {
|
---|
7 | display: flex;
|
---|
8 | justify-content: center;
|
---|
9 | align-items: center;
|
---|
10 | flex-direction: column;
|
---|
11 | min-height: 100vh;
|
---|
12 | gap: 19px;
|
---|
13 | background-color: rgb(255, 255, 255);
|
---|
14 | }
|
---|
15 |
|
---|
16 | h1 {
|
---|
17 | font-size: 36px;
|
---|
18 | margin-bottom: 10px;
|
---|
19 | }
|
---|
20 |
|
---|
21 | .inputfield {
|
---|
22 | position: relative;
|
---|
23 | }
|
---|
24 |
|
---|
25 | .inputfield input {
|
---|
26 | width: 275px;
|
---|
27 | padding: 10px 20px 10px 20px;
|
---|
28 | border: 1px solid rgb(207, 207, 207);
|
---|
29 | outline: none;
|
---|
30 | font-size: 1.25em;
|
---|
31 | border-radius: 6px;
|
---|
32 | line-height: 35px;
|
---|
33 | }
|
---|
34 |
|
---|
35 | .inputfield span {
|
---|
36 | position: absolute;
|
---|
37 | top: 50%;
|
---|
38 | transform: translateY(-50%);
|
---|
39 | left: 0;
|
---|
40 | padding: 10px;
|
---|
41 | pointer-events: none;
|
---|
42 | font-size: 1.25em;
|
---|
43 | color: blue;
|
---|
44 | transition: 0.35s;
|
---|
45 | margin-left: 10px;
|
---|
46 | border-radius: 6px;
|
---|
47 | color: rgb(170, 170, 170);
|
---|
48 | }
|
---|
49 |
|
---|
50 | .inputfield input:valid ~ span,
|
---|
51 | .inputfield input:focus ~ span{
|
---|
52 | top: 0;
|
---|
53 | color:rgb(76, 194, 95);
|
---|
54 | transform: translateY(-10px);
|
---|
55 | font-size: 1.19em;
|
---|
56 | padding: 0px 10px;
|
---|
57 | background: rgb(255, 255, 255);
|
---|
58 | }
|
---|
59 |
|
---|
60 | .inputfield input:focus {
|
---|
61 | border-color: rgb(76, 194, 95);
|
---|
62 | }
|
---|
63 |
|
---|
64 | #continue {
|
---|
65 | background-color: rgb(46, 224, 46);
|
---|
66 | border: none;
|
---|
67 | border-radius: 6px;
|
---|
68 | color: white;
|
---|
69 | width: 315px;
|
---|
70 | height: 50px;
|
---|
71 | font-size: 1.25em;
|
---|
72 | margin-bottom: 20px;
|
---|
73 | transition: 0.2s;
|
---|
74 | }
|
---|
75 |
|
---|
76 | #continue:hover {
|
---|
77 | cursor: pointer;
|
---|
78 | background-color: rgb(46, 200, 46);
|
---|
79 | }
|
---|
80 |
|
---|
81 | p {
|
---|
82 | text-align: center;
|
---|
83 | font-size: 17px;
|
---|
84 |
|
---|
85 | }
|
---|
86 | a {
|
---|
87 | color: green;
|
---|
88 | text-decoration: none;
|
---|
89 | }
|
---|
90 |
|
---|
91 | form {
|
---|
92 | display: flex;
|
---|
93 | flex-direction: column;
|
---|
94 | align-items: center;
|
---|
95 | gap: 19px;
|
---|
96 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.