-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
30 lines (23 loc) · 1.34 KB
/
index.html
File metadata and controls
30 lines (23 loc) · 1.34 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
<!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>Simple Tailwind Starter</title>
</head>
<body class=" bg-slate-700 ">
<div class="flex flex-col p-2 md:flex-row bg-slate-800 h-[440px] w-[200px] rounded-xl mx-auto mt-32 md:min-w-[600px] md:mt-[15%] md:h-[240px] md:w-1/3">
<img src="assets/image.jpg" alt="image" class=" rounded-2xl w-[98%] h-[180px] md:h-[98%] md:w-[200px] transform hover:scale-105 hover:rounded-xl hover:duration-200 ">
<div class="flex flex-col">
<h3 class="py-4 md:px-8 md:py-6 text-white text-xl font-serif ">Get diet and fitness tips in your inbox</h3>
<p class="text-center md:px-8 md:py-2 text-white text-sm">Eat better and excercise better. Sign up for the diet and fitness newsletter</p>
<div class="flex flex-col md:flex-row md:px-8 md:py-2 ">
<input type="text" placeholder="Enter your email address" class="mt-2 mx-2 border-slate-500 border md:h-9 bg-transparent md:w-[220px] text-center text-sm text-white">
<button class=" mt-2 md:ml-2 md:px-4 py-2 mx-2 bg-lime-500 rounded-md text-xs hover:bg-lime-400">Subscribe</button>
</div>
</div>
</div>
</body>
</body>
</html>