-
Notifications
You must be signed in to change notification settings - Fork 0
/
Facebook.html
67 lines (66 loc) · 3.02 KB
/
Facebook.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
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Facebook-like Loading Skeleton</title>
<!-- Tailwind CSS CDN -->
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
<!-- Font Awesome CDN -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
</head>
<body class="bg-gray-100 flex justify-center items-center min-h-screen p-4">
<div class="w-full max-w-lg p-4 bg-white rounded-lg shadow-md">
<!-- Post 1 -->
<div class="animate-pulse mb-6">
<div class="flex items-center space-x-4">
<div class="rounded-full bg-gray-300 h-12 w-12"></div>
<div class="flex-1 space-y-4 py-1">
<div class="h-4 bg-gray-300 rounded w-3/4"></div>
<div class="h-4 bg-gray-300 rounded w-5/6"></div>
</div>
</div>
<div class="mt-4 space-y-4">
<div class="h-48 bg-gray-300 rounded"></div>
<div class="h-4 bg-gray-300 rounded w-3/4"></div>
<div class="h-4 bg-gray-300 rounded w-5/6"></div>
</div>
<div class="mt-4 flex justify-between text-gray-400">
<div class="flex items-center space-x-2">
<div class="h-4 bg-gray-300 rounded w-16"></div>
<div class="h-4 bg-gray-300 rounded w-20"></div>
</div>
<div class="flex items-center space-x-2">
<div class="h-4 bg-gray-300 rounded w-12"></div>
<div class="h-4 bg-gray-300 rounded w-16"></div>
</div>
</div>
</div>
<!-- Post 2 -->
<div class="animate-pulse mb-6">
<div class="flex items-center space-x-4">
<div class="rounded-full bg-gray-300 h-12 w-12"></div>
<div class="flex-1 space-y-4 py-1">
<div class="h-4 bg-gray-300 rounded w-3/4"></div>
<div class="h-4 bg-gray-300 rounded w-5/6"></div>
</div>
</div>
<div class="mt-4 space-y-4">
<div class="h-48 bg-gray-300 rounded"></div>
<div class="h-4 bg-gray-300 rounded w-3/4"></div>
<div class="h-4 bg-gray-300 rounded w-5/6"></div>
</div>
<div class="mt-4 flex justify-between text-gray-400">
<div class="flex items-center space-x-2">
<div class="h-4 bg-gray-300 rounded w-16"></div>
<div class="h-4 bg-gray-300 rounded w-20"></div>
</div>
<div class="flex items-center space-x-2">
<div class="h-4 bg-gray-300 rounded w-12"></div>
<div class="h-4 bg-gray-300 rounded w-16"></div>
</div>
</div>
</div>
</div>
</body>
</html>