-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
35 lines (32 loc) · 1.66 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="friend" class="top-1/2 left-1/2 mt-[200px]">
<div class="max-w-sm mx-auto bg-white rounded-xl shadow-2xl hover:shadow-inner overflow-hidden md:max-w-md">
<div class="flex items-end justify-end h-56 w-full bg-cover" style="background-image: url('https://images.unsplash.com/photo-1525130413817-d45c1d127c42?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=800&q=80')">
</div>
<div class="px-6 py-4">
<div class="font-bold text-3xl mb-2">Sara Hopkins</div>
<p class="friends text-gray-700 text-xl">
You may know her!✨<br>
New to platform
</p>
</div>
<div class="px-6 py-4">
<button class="relative inline-block px-4 py-2 font-bold text-white transition duration-150 ease-in-out rounded-full shadow-md bg-gradient-to-r from-blue-800 to-blue-600 hover:from-blue-700 hover:to-blue-500">
<div class="absolute inset-0 w-full h-full rounded-full bg-gradient-to-r from-transparent to-transparent opacity-0 transition duration-300 group-hover:opacity-100 group-hover:from-blue-700 group-hover:to-blue-500"></div>
<div class="relative">Follow</div>
</button>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>