-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTargetInteractive.html
More file actions
72 lines (72 loc) · 3.35 KB
/
TargetInteractive.html
File metadata and controls
72 lines (72 loc) · 3.35 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
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
68
69
70
71
72
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>InteractiveCards</title>
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
</head>
<body class="w-screen h-screen grid place-content-center">
<section class="grid grid-rows-1 grid-cols-4 gap-3">
<div
class="group w-56 h-96 relative bg-blue-500 rounded transition-transform transform hover:scale-125 z-0 hover:gap-7 hover:shadow-2xl hover:z-10 ease-in-out duration-300"
>
<img
class="absolute left-10 top-10 size-36 transition-opacity group-hover:opacity-0"
src="https://www.pepaferrer.com/wp-content/uploads/2024/02/Imagen-interrogante-2.png"
alt="to interrogant image"
/>
<button
class="absolute bottom-4 left-1/2 transform -translate-x-1/2 translate-y-8 opacity-0 group-hover:translate-y-0 group-hover:opacity-100 transition-all duration-500 ease-out bg-indigo-600 text-white px-4 py-2 rounded-full shadow-md hover:bg-indigo-700"
>
Click Aquí
</button>
</div>
<div
class="group w-56 h-96 relative bg-green-500 rounded transition-transform transform hover:scale-125 z-0 hover:gap-7 hover:shadow-2xl hover:z-10 ease-in-out duration-300"
>
<img
class="absolute left-10 top-10 size-36 transition-opacity group-hover:opacity-0"
src="https://www.pepaferrer.com/wp-content/uploads/2024/02/Imagen-interrogante-2.png"
alt="to interrogant image"
/>
</div>
<div
class="group w-56 h-96 relative bg-purple-500 rounded transition-transform transform hover:scale-125 z-0 hover:gap-7 hover:shadow-2xl hover:z-10 ease-in-out duration-300"
>
<img
class="absolute left-10 top-10 size-36 transition-opacity group-hover:opacity-0"
src="https://www.pepaferrer.com/wp-content/uploads/2024/02/Imagen-interrogante-2.png"
alt="to interrogant image"
/>
<article
class="flex flex-col justify-center align-middle group-hover:opacity-100 opacity-0"
>
<img
class="mask-radial-farthest-side mask-radial-from-100% mask-radial-at-[30%_30%]"
src="https://i.blogs.es/f7234d/imagen/500_333.webp"
alt="imagen de un elefante"
/>
<h1 class="text-lg font-semibold font-mono text-white text-center">
Imagen de un elefante
</h1>
<p class="p-3 text-sm font-sans text-justify text-white">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Odio quod
deserunt, adipisci reprehenderit aut tenetur corrupti praesentium
delectus doloribus quis laborum ipsam error fuga ipsa blanditiis
expedita esse id earum.
</p>
</article>
</div>
<div
class="group w-56 h-96 relative bg-red-500 rounded transition-transform transform hover:scale-125 z-0 hover:gap-7 hover:shadow-2xl hover:z-10 ease-in-out duration-300"
>
<img
class="absolute left-10 top-10 size-36 transition-opacity group-hover:opacity-0"
src="https://www.pepaferrer.com/wp-content/uploads/2024/02/Imagen-interrogante-2.png"
alt="to interrogant image"
/>
</div>
</section>
</body>
</html>