-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathiletisim.html
186 lines (167 loc) · 3.92 KB
/
iletisim.html
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="assets/css/style.css">
<title>Document</title>
</head>
<body>
<div class="nav" style="background-color: #24252a ; padding: 0% !important;">
<a href="index.html"> <img class="logo" src="images/logo.png" /></a>
<ul>
<a href="index.html">Ana Sayfa</a>
<a href="galeri.html">Galeri</a>
<a href="blog.html">Blog</a>
<a href="ekip.html">Ekip</a>
<a href="iletisim.html">İletişim</a>
</ul>
</div>
<div class="container">
<div class="contact-box">
<div class="left">
<br><br>
<img src="images/contact.png">
</div>
<div class="right">
<h2>İletişim</h2>
<input type="text" class="field" placeholder="İsim Syoisim">
<input type="text" class="field" placeholder="E-Posta">
<textarea placeholder="Mesaj" class="field"></textarea>
<button onclick="gönder()" class="btn">Gönder</button>
</div>
</div>
</div>
</body>
<script>
function gönder(){
var name = document.getElementsByClassName("field")[0].value;
alert(name + " Mesajınız Gönderildi");
}
</script>
<style>
*{
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: 'Quicksand', sans-serif;
}
body{
height: 100vh;
width: 100%;
}
.container{
position: relative;
width: 100%;
height: 83%;
display: flex;
justify-content: center;
align-items: center;
padding: 20px 100px;
}
.container:after{
content: '';
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
background-size: cover;
filter: blur(50px);
z-index: -1;
}
.contact-box{
max-width: 850px;
display: grid;
grid-template-columns: repeat(2, 1fr);
justify-content: center;
align-items: center;
text-align: center;
background-color: #fff;
box-shadow: 0px 0px 19px 5px rgba(0,0,0,0.19);
}
.left{
background: url("img/bg.jpg") no-repeat center;
background-size: cover;
height: 100%;
}
.right{
padding: 25px 40px;
}
h2{
position: relative;
padding: 0 0 10px;
margin-bottom: 10px;
}
h2:after{
content: '';
position: absolute;
left: 50%;
bottom: 0;
transform: translateX(-50%);
height: 4px;
width: 50px;
border-radius: 2px;
background-color: #2ecc71;
}
.field{
border-radius: 10px;
width: 100%;
border: 2px solid rgba(0, 0, 0, 0);
outline: none;
background-color: rgba(230, 230, 230, 0.6);
padding: 0.5rem 1rem;
font-size: 1.1rem;
margin-bottom: 22px;
transition: .3s;
}
.field:hover{
background-color: rgba(0, 0, 0, 0.1);
}
textarea{
min-height: 150px;
}
.btn{
color: #fff;
background-color: #28a745;
border-color: #28a745;
cursor: pointer;
display: inline-block;
font-weight: 400;
text-align: center;
white-space: nowrap;
vertical-align: middle;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
border: 1px solid transparent;
padding: 0.375rem 0.75rem;
font-size: 1rem;
line-height: 1.5;
border-radius: 0.25rem;
transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.btn:hover{
color: #fff;
background-color: #218838;
border-color: #1e7e34;
}
.field:focus{
border: 2px solid rgba(30,85,250,0.47);
background-color: #fff;
}
@media screen and (max-width: 880px){
.contact-box{
grid-template-columns: 1fr;
}
.left{
height: 200px;
}
}
</style>
<footer>
<p class="text-center">Tüm Hakları Sakldır © Proje ekibi</p>
</footer>
</html>