-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex2.html
50 lines (46 loc) · 2.29 KB
/
index2.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
<!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="output.css">
<title>Document</title>
</head>
<body class="bg-black grid place-content-center h-screen">
<h1 class="text-yellow-400 text-4xl m-6">Test</h1>
<div class="">
<div class="p-6 max-w-sm mx-auto bg-white rounded-xl shadow-lg flex items-center space-x-4">
<div>
<img class="h-16 w-16" src="https://images.unsplash.com/photo-1620288627223-53302f4e8c74?q=80&w=1964&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D" alt="">
</div>
<div>
<div class="text-2xl font-medium text-black">
Tailwind CSS
<p class="text-slate-700 text-base">By Ashish</p>
</div>
</div>
</div>
</div>
<button class="bg-sky-700 text-center mt-2 text-white text-base p-2 rounded-xl hover:bg-white hover:text-black
">Buy now</button>
<div class="text-center my-4">
<p class="text-white md:text-green-500 sm:text-red-500
">Lorem ipsum dolor sit amet consectetur, adipisicing elit.</p>
</div>
<div class="mt-3">
<div class="max-w-sm mx-auto bg-white rounded-xl overflow-hidden md:max-w-2xl">
<div class="md:flex">
<div>
<img class="h-48 w-full object-cover md:h-full md:w-48" src="https://images.pexels.com/photos/417344/pexels-photo-417344.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2" alt="">
</div>
<div class="p-8">
<div class="uppercase -tracking-wide text-sm text-indigo-700 font-semibold">AN AWESOME CARD</div>
<a class="block mt-1 text-lg font-medium text-black hover:text-blue-800" href="#">Tailwind CSS is amazing once you understand the <span class="bg-yellow-600
p-[2px] px-[14px]">Power</span> of it.</a>
<p class="mt-2 text-slate-800">Lorem ipsum, dolor sit amet consectetur adipisicing elit.</p>
</div>
</div>
</div>
</div>
</body>
</html>