forked from oktalk/using-tailwindcss
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
56 lines (50 loc) · 2.4 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!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="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;700&family=Roboto:wght@400;500&display=swap" rel="stylesheet">
<!-- <link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet"> -->
<link href="./styles/app.css" rel="stylesheet">
<title>Document</title>
</head>
<body class="bg-skin-app">
<div class="px-8 py-12 w-full md:max-w-4xl lg:max-w-5xl mx-auto">
<img src="./img/logo-12.svg" alt="Logo Ipsum" class="mb-6" width="200" />
<div class="md:flex md:items-center md:flex-row -mx-4">
<div class="md:order-2 w-full md:w-1/2 px-4">
<img src="./img/placeimg_640_480_nature.jpg" alt="Waterfall"
class="rounded-lg shadow-xl mb-6 md:mb-0 max-h-36 md:max-h-full object-cover object-center" width="100%">
</div>
<div class="md:order-1 w-full md:w-1/2 px-4">
<h1 class="text-skin-headline text-lg md:text-2xl font-bold mb-2">
You can work from anywhere.
<span class="text-skin-subhead block">Take advantage of it.</span>
</h1>
<p class="text-skin-base text-sm md:text-base text-gray-600 mb-4">Lorem ipsum dolor, sit amet consectetur adipisicing elit.
Laudantium quisquam ducimus, necessitatibus tempore odit soluta ratione facilis reprehenderit cum, ad nostrum,
temporibus possimus repellendus officiis sunt impedit neque excepturi voluptatibus!</p>
<div class="space-x-2">
<a href="#" class="btn btn-primary shadow-lg transform hover:-translate-y-0.5 transition">Book your escape</a>
<a href="#" class="btn btn-secondary">Learn more</a>
</div>
</div>
</div>
</div>
<div class="px-8 py-12 w-full md:max-w-4xl lg:max-w-5xl mx-auto">
<form action="/action_page.php">
<div>
<label for="fname">First name:</label><br>
<input type="text" id="fname" name="fname" placeholder="John"><br>
</div>
<div>
<label for="lname">Last name:</label><br>
<input type="text" id="lname" name="lname" placeholder="Doe"><br><br>
</div>
<input type="submit" value="Submit" class="btn bg-gray-500 text-white">
</form>
</div>
</body>
</html>