-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact.css
More file actions
83 lines (81 loc) · 2 KB
/
contact.css
File metadata and controls
83 lines (81 loc) · 2 KB
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
/* body{
background-image:linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
url(Media/bg8.jpg);
background-size: 100% 100%;
background-repeat: no-repeat;
}
.main{
margin: auto;
width: 50%;
margin-top: 200px;
background-color: white;
text-align: center;
border-radius: 20px;
box-shadow: 300% black;
padding:100px 20px 100px 20px;
} */
* {
padding: 0;
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
.contact-section{
background:linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("https://images.unsplash.com/photo-1489549132488-d00b7eee80f1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=387&q=80")
no-repeat bottom;
background-size: cover;
padding: 40px 0 ;
}
.contact-section h1{
text-align: center;
color:black;
}
.border{
width: 100px;
height: 10px;
background-color: #000000;
background-image: linear-gradient(147deg, #000000 0%, #434343 74%);
margin: 40px auto;
}
.contact-form{
max-width: 600px;
margin: auto;
padding: 0 10px;
overflow: hidden;
}
.contact-form-text{
display: block;
width: 100%;
box-sizing: border-box;
margin: 16px 0;
border: 0;
background: #111;
padding: 20px 40px;
outline: none;
color: #ddd;
transition: 0.5s;
}
.contact-form-text:focus{
box-shadow: 0 0 10px 4px /*#34495e*/ red;
}
textarea.contact-form-text{
resize: none;
height: 120px;
}
.contact-form-btn{
float: right;
border: 0;
color: #fff;
padding: 12px 50px;
color: #fff;
font-weight: bold;
border-radius: 20px;
cursor: pointer;
transition: 0.5s;
background-color: #000000;
background-image: linear-gradient(315deg, #000000 0%, #b82e1f 74%);
}
.contact-form-btn:hover{
background-color: #d2a813;
background-image: linear-gradient(315deg, #d2a813 0%, #000000 74%);
}