forked from snehasish-20/Hactoberfest-form
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
122 lines (118 loc) · 2.07 KB
/
style.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
*
{
margin: 1%;
padding: 0;
box-sizing: border-box;
outline: none;
font-family: Arial, Helvetica, sans-serif;
}
body
{
width: 100%;
height: 100%;
}
h1 {
text-align: center;
background-color: #ff00ff;
color: #ffffff;
font-family: 'Sofia', cursive;
box-shadow: 5px 5px 5px 2px #ff00ff;
border-radius: 10px;
text-shadow: 5px 5px 5px #000000;
}
#form
{
width: 50%;
background-color: #ff00ff;
margin:150px auto;
padding: 20px 10px ;
box-shadow: 2px 2px 14px -1px rgba(0,0,0,0.75);
background-image: linear-gradient(#ff00ff,red);
border-radius: 10px;
}
.show{
border: 2px solid red;
width: 50%;
margin: 0 auto;
margin-top: -50px;
padding: 20px 10px ;
border-radius: 10px;
box-shadow: 2px 2px 14px -1px rgba(0,0,0,0.75);
background-image: linear-gradient(#ff00ff,red);
display: none;
}
.show ul{
list-style-type: none;
}
.show li{
margin-top: 20px;
margin-bottom: 20px;
}
.showd{
display: block;
}
form
{
display: flex;
flex-direction: column;
align-items: flex-end;
}
form div
{
width: 100%;
display: flex;
justify-content: space-between;
}
input[type="text"],select
{
width: 80%;
height: 30px;
}
textarea
{
width: 80%;
}
input,select,textarea
{
margin-bottom: 10px;
border: 0px;
padding: 0 10px;
border-radius: 3px;
}
#text-area
{
align-items: flex-start;
}
input[type="submit"]
{
width: 80px;
height: 30px;
background-color: rgb(32, 226, 32);
color: white;
cursor: pointer;
}
input:focus,select:focus,textarea:focus
{
border-bottom: 3px solid powderblue;
}
.page-footer {
background-color: #ff00ff;
text-align: center;
color: #ffffff;
padding: 1px;
border-radius: 10px;
}
.footer-copyright a {
color: #ffffff;
text-decoration: none;
background-color: #000000;
border-radius: 2px;
padding: 2px;
}
.btn {
margin-right: -300px;
}
.btn input {
background-image: linear-gradient(green,#ff00ff);
font-size: 100%;
}