-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
38 lines (30 loc) · 1.54 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- <link rel="stylesheet" href="css/style.css"> -->
<title>Email Subscribe</title>
</head>
<body>
<div class="flex justify-center items-center bg-zinc-700 h-screen">
<div class="mx-80 md:mx-10 flex flex-col md:flex-row bg-zinc-800 p-2 border-gray-800 rounded-2xl">
<img class = 'p-3 md:p-2 object-fit rounded-xl h-60 md:h-64 md:rounded-l-xl md:rounded-r-none transform hover:scale-105 hover:rounded-xl duration-200' src="./image.jpg" alt="Hello"/>
<div class="flex flex-col">
<div class="h-1/2 text-white font-serif p-6 font-bold tracking-wide text-center md:text-left">
Get diet and fitness tips in your inbox
<span class="inline-block font-normal tracking-normal">
Eat better and exercise better. Sign up for the Diet&Fitness newsletter.
</span>
</div>
<div class="h-1/2 flex flex-row items-center justify-center space-x-6">
<input placeholder = "Enter your email address"
class = 'p-2 text-white text-center bg-zinc-800 border-1 border-zinc-100 placeholder:font-serif' type="text">
<button class="bg-lime-500 p-1 rounded-xl md:text-xl text-sm text-zinc-800
"> Subscribe </button>
</div>
</div>
</div>
</div>
</body>
</html>