-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathCreate Form with css.css
122 lines (115 loc) · 2.29 KB
/
Create Form with css.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
form{
/* border: solid 1px;*/
width: fit-content;
margin:auto;
cursor: pointer;
padding: 3em;
border-radius: 6px;
margin-bottom: 50px;
box-shadow: 0px 0px 10px grey;
}
input[type=text],input[type=email],input[type=number]{
width: 500px;;
padding: 15px 30px;
border: None;
font-size: 10px;
border-bottom: 1px solid black;
transition: all .2s;
background-color: rgba(73, 64, 64, 0.027);
border-radius: 6px;
}
input[type=text]:focus,input[type=email]:focus,input[type=number]:focus{
outline: none;
/* border-bottom-color: rgb(59, 56, 56); */
box-shadow: 0px 0px 15px grey;
background-color: white;
}
form input{
margin: 10px;
}
form p{
font-family: sans-serif;
font-size: 16px;
}
h1{
font-family: sans-serif;
font-size: 24px;
text-align: center;
}
h1:hover{
color: seagreen;
}
form select{
width:90%;
padding: 15px 30px;
margin-top: 20px;
border:1.5px solid rgb(59, 56, 56);
padding: 15px;
transition: all .6s;
border-radius: 6px;
font-size: 16px;
font-family: sans-serif;
}
form select:focus{
outline: none;
border:1px green;
}
select option{
padding: 1%;
}
textarea{
width: 100px;
font-family: sans-serif;
font-size: 16px;
border-color: rgb(59, 56, 56);
padding: 15px;
border-radius: 6px;
}
textarea:focus{
outline:none;
border: 1px solid green;
}
.button,button{
color: white;
background-color: green;
border: none;
border-radius: 6px;
padding: 15px 30px;
font-size: 16px;
font-family: sans-serif;
margin: auto;
display: inline-block;
transition: all .6s;
}
.button:hover{
cursor: pointer;
color: green;
background: honeydew;
}
.preview{
position:absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(0, 0, 0, 0.45);
display: none;
}
.form_preview{
/* background-color: blanchedalmond;
width: fit-content;
position: relative;
margin-left: 50px;
margin-top: 100px;
padding: 50px; */
background-color: white;
width: fit-content;
margin:auto;
cursor: pointer;
padding: 3em;
padding-right: 150px;
border-radius: 6px;
margin-bottom: 50px;
margin-top: 50px;
box-shadow: 0px 0px 10px white;
}