-
Notifications
You must be signed in to change notification settings - Fork 0
/
form.css
83 lines (83 loc) · 1.35 KB
/
form.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
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@200&display=swap");
* {
font-family: "Nunito", "Arial", sans-serif;
}
body {
background-color: #b3e5fc;
}
div#header {
margin: 20px auto 10px auto;
width: 45%;
background-color: #fefefe;
padding: 24px;
border-top: 12px solid #29b6f6;
border-radius: 12px;
}
div.input {
margin: 10px auto 10px auto;
width: 45%;
background-color: #fefefe;
padding: 24px;
border-radius: 12px;
}
.require {
color: red;
}
input[type="text"] {
border: none;
border-bottom: 1.5px solid #29b6f6;
min-width: 72%;
background-color: transparent;
}
input[type="text"]:focus {
outline: none;
}
#fname,
#lname {
min-width: 35.5%;
}
button {
padding: 10px;
background-color: #29b6f6;
border: none;
display: block;
margin: 20px auto;
width: 30%;
border-radius: 10px;
}
p#result {
background-color: #fefefe;
width: 45%;
margin: 50px auto auto auto;
border-top: 12px solid #29b6f6;
border-radius: 12px;
display: none;
padding: 24px;
font-size: 20px;
line-height: 1.75em;
}
textarea {
width: 98%;
height: 100px;
resize: vertical;
}
.value {
color: blue;
font-weight: bold;
border-bottom: 1px solid blue;
position: relative;
left: 5px;
}
span#counter {
font-size: 12px;
position: relative;
float: right;
margin-right: 5px;
}
#smalltext {
font-size: 12px;
margin-top: 0;
}
#comment {
margin-bottom: 0;
}