-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
124 lines (113 loc) · 2.3 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
123
124
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
.hero{
width: 100%;
min-height: 780px;
background:linear-gradient(45deg,#010758,#490d61);
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
color: #fff;
}
.hero h1{
font-size: 45px;
font-weight: 500;
/* margin-top: 50px; */
margin-bottom: 30px;
}
.hero h1 span{
color: #ff2963;
position: relative;
}
.hero h1 span::after{
content: "";
position: absolute;
width: 10px;
color: #000;
}
.hero textarea{
font-family: sans-serif;
width: 400px;
height: 200px;
/* border: 2px solid black; */
border: none;
border-radius: 7px;
font-size: 15px;
background-color: #403d84;
color: white;
outline: none;
padding: 20px;
}
textarea::placeholder{
font-size: 15px;
color: white;
}
.row button{
padding: 7px 24px;
margin-top: 15px;
margin-left: 5px;
background-color: #ff4552;
border: none;
border-radius: 20px;
}
.row button i{
margin-right: 5px;
font-size: 13px;
}
.row select{
background: #403d84;
width: 285px;
height: 30px;
border-radius: 20px;
border: 1px solid #454588;
appearance: none;
background-image: url(./arrow-down.png);
background-repeat: no-repeat;
background-size: 15px;
background-position: calc(100% - 15px) calc(8px);
color: whitesmoke;
}
/* Media Query for mobile
@media screen and (max-width: 768px) {
.hero h1 {
font-size: 30px;
margin-bottom: 20px;
}
.hero textarea {
width: 90%;
height: 150px;
font-size: 14px;
}
.row button {
padding: 6px 20px;
font-size: 14px;
}
.row select {
width: 90%;
height: 40px;
}
}
Media Query for smaller mobile screens
@media screen and (max-width: 480px) {
.hero h1 {
font-size: 25px;
margin-bottom: 15px;
}
.hero textarea {
width: 100%;
height: 120px;
font-size: 13px;
}
.row button {
padding: 5px 18px;
font-size: 12px;
}
.row select {
width: 100%;
height: 40px;
}
} */