A creature collecting website, similar to Neopets, where start with one creature that can evolve into one of 5 evolutions. You collect more creatures by taming them.
Browse files- README.md +8 -5
- index.html +281 -18
README.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: CreatureVerse Evolution
|
| 3 |
+
colorFrom: purple
|
| 4 |
+
colorTo: gray
|
| 5 |
+
emoji: 🐳
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite-v3
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Welcome to your new DeepSite project!
|
| 13 |
+
This project was created with [DeepSite](https://deepsite.hf.co).
|
index.html
CHANGED
|
@@ -1,19 +1,282 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
</html>
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en" class="dark">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>CreatureVerse Evolution</title>
|
| 7 |
+
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 10 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 11 |
+
<script src="https://cdn.jsdelivr.net/npm/animejs/lib/anime.min.js"></script>
|
| 12 |
+
<script>
|
| 13 |
+
tailwind.config = {
|
| 14 |
+
darkMode: 'class',
|
| 15 |
+
theme: {
|
| 16 |
+
extend: {
|
| 17 |
+
colors: {
|
| 18 |
+
primary: '#000000',
|
| 19 |
+
secondary: '#eab308'
|
| 20 |
+
}
|
| 21 |
+
}
|
| 22 |
+
}
|
| 23 |
+
}
|
| 24 |
+
</script>
|
| 25 |
+
<style>
|
| 26 |
+
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
|
| 27 |
+
body {
|
| 28 |
+
font-family: 'Poppins', sans-serif;
|
| 29 |
+
}
|
| 30 |
+
.creature-card {
|
| 31 |
+
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
| 32 |
+
}
|
| 33 |
+
.creature-card:hover {
|
| 34 |
+
transform: translateY(-5px);
|
| 35 |
+
box-shadow: 0 20px 25px -5px rgba(234, 179, 8, 0.1), 0 10px 10px -5px rgba(234, 179, 8, 0.04);
|
| 36 |
+
}
|
| 37 |
+
.evolution-path {
|
| 38 |
+
position: relative;
|
| 39 |
+
}
|
| 40 |
+
.evolution-path::before {
|
| 41 |
+
content: '';
|
| 42 |
+
position: absolute;
|
| 43 |
+
top: 50%;
|
| 44 |
+
left: 0;
|
| 45 |
+
right: 0;
|
| 46 |
+
height: 2px;
|
| 47 |
+
background: linear-gradient(90deg, transparent, #eab308, transparent);
|
| 48 |
+
transform: translateY(-50%);
|
| 49 |
+
}
|
| 50 |
+
</style>
|
| 51 |
+
</head>
|
| 52 |
+
<body class="bg-black text-white min-h-screen">
|
| 53 |
+
<!-- Navigation -->
|
| 54 |
+
<nav class="bg-black border-b border-yellow-500/20 sticky top-0 z-50">
|
| 55 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 56 |
+
<div class="flex justify-between h-16">
|
| 57 |
+
<div class="flex items-center">
|
| 58 |
+
<div class="flex-shrink-0 flex items-center">
|
| 59 |
+
<i data-feather="zap" class="text-yellow-500 w-8 h-8"></i>
|
| 60 |
+
<span class="ml-2 text-xl font-bold text-yellow-500">CreatureVerse</span>
|
| 61 |
+
</div>
|
| 62 |
+
</div>
|
| 63 |
+
<div class="flex items-center space-x-4">
|
| 64 |
+
<a href="#" class="text-yellow-500 hover:text-yellow-400 px-3 py-2 rounded-md text-sm font-medium">My Creatures</a>
|
| 65 |
+
<a href="#" class="text-gray-300 hover:text-yellow-500 px-3 py-2 rounded-md text-sm font-medium">Taming Grounds</a>
|
| 66 |
+
<a href="#" class="text-gray-300 hover:text-yellow-500 px-3 py-2 rounded-md text-sm font-medium">Evolution Lab</a>
|
| 67 |
+
<div class="flex items-center space-x-2">
|
| 68 |
+
<div class="bg-yellow-500/10 px-3 py-1 rounded-full">
|
| 69 |
+
<span class="text-yellow-500 text-sm">★ 1,250</span>
|
| 70 |
+
</div>
|
| 71 |
+
<img class="h-8 w-8 rounded-full" src="http://static.photos/gaming/200x200/1" alt="Profile">
|
| 72 |
+
</div>
|
| 73 |
+
</div>
|
| 74 |
+
</div>
|
| 75 |
+
</div>
|
| 76 |
+
</nav>
|
| 77 |
+
|
| 78 |
+
<!-- Hero Section -->
|
| 79 |
+
<div class="relative bg-gradient-to-br from-black via-gray-900 to-black py-20">
|
| 80 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 81 |
+
<div class="text-center">
|
| 82 |
+
<h1 class="text-4xl md:text-6xl font-bold text-yellow-500 mb-4">Welcome to CreatureVerse</h1>
|
| 83 |
+
<p class="text-xl text-gray-300 mb-8">Collect, evolve, and tame amazing creatures in this dark fantasy world</p>
|
| 84 |
+
<div class="flex justify-center space-x-4">
|
| 85 |
+
<button class="bg-yellow-500 text-black px-8 py-3 rounded-lg font-semibold hover:bg-yellow-600 transition duration-200">
|
| 86 |
+
Start Adventure
|
| 87 |
+
</button>
|
| 88 |
+
<button class="border border-yellow-500 text-yellow-500 px-8 py-3 rounded-lg font-semibold hover:bg-yellow-500/10 transition duration-200">
|
| 89 |
+
Learn More
|
| 90 |
+
</button>
|
| 91 |
+
</div>
|
| 92 |
+
</div>
|
| 93 |
+
</div>
|
| 94 |
+
</div>
|
| 95 |
+
|
| 96 |
+
<!-- Main Content -->
|
| 97 |
+
<main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
|
| 98 |
+
<!-- Current Creature -->
|
| 99 |
+
<section class="mb-16">
|
| 100 |
+
<h2 class="text-3xl font-bold text-yellow-500 mb-8 text-center">Your Starter Creature</h2>
|
| 101 |
+
<div class="bg-gray-900/50 rounded-2xl p-8 max-w-2xl mx-auto">
|
| 102 |
+
<div class="flex flex-col md:flex-row items-center space-y-6 md:space-y-0 md:space-x-8">
|
| 103 |
+
<div class="flex-shrink-0">
|
| 104 |
+
<img src="http://static.photos/fantasy/320x240/1" alt="Starter Creature" class="w-48 h-48 rounded-2xl border-4 border-yellow-500">
|
| 105 |
+
</div>
|
| 106 |
+
<div class="text-center md:text-left">
|
| 107 |
+
<h3 class="text-2xl font-bold text-yellow-500 mb-2">Shadowling</h3>
|
| 108 |
+
<div class="flex items-center justify-center md:justify-start space-x-2 mb-4">
|
| 109 |
+
<span class="bg-yellow-500/20 text-yellow-500 px-3 py-1 rounded-full text-sm">Level 1</span>
|
| 110 |
+
<span class="bg-gray-700 text-gray-300 px-3 py-1 rounded-full text-sm">Dark Type</span>
|
| 111 |
+
</div>
|
| 112 |
+
<p class="text-gray-300 mb-4">A mysterious creature born from shadows. It has the potential to evolve into 5 different forms based on your choices.</p>
|
| 113 |
+
<div class="flex space-x-2">
|
| 114 |
+
<button class="bg-yellow-500 text-black px-4 py-2 rounded-lg text-sm font-semibold hover:bg-yellow-600 transition duration-200">
|
| 115 |
+
Feed Creature
|
| 116 |
+
</button>
|
| 117 |
+
<button class="border border-yellow-500 text-yellow-500 px-4 py-2 rounded-lg text-sm font-semibold hover:bg-yellow-500/10 transition duration-200">
|
| 118 |
+
View Stats
|
| 119 |
+
</button>
|
| 120 |
+
</div>
|
| 121 |
+
</div>
|
| 122 |
+
</div>
|
| 123 |
+
</div>
|
| 124 |
+
</section>
|
| 125 |
+
|
| 126 |
+
<!-- Evolution Path -->
|
| 127 |
+
<section class="mb-16">
|
| 128 |
+
<h2 class="text-3xl font-bold text-yellow-500 mb-8 text-center">Evolution Path</h2>
|
| 129 |
+
<div class="evolution-path grid grid-cols-1 md:grid-cols-5 gap-8 relative">
|
| 130 |
+
<!-- Evolution 1 -->
|
| 131 |
+
<div class="creature-card bg-gray-900/50 rounded-2xl p-6 text-center relative z-10">
|
| 132 |
+
<img src="http://static.photos/fantasy/200x200/2" alt="Evolution 1" class="w-32 h-32 mx-auto rounded-xl mb-4 border-2 border-yellow-500">
|
| 133 |
+
<h4 class="text-lg font-semibold text-yellow-500 mb-2">Nightstalker</h4>
|
| 134 |
+
<p class="text-gray-400 text-sm mb-4">Stealth predator that hunts in darkness</p>
|
| 135 |
+
<div class="bg-yellow-500/10 text-yellow-500 px-3 py-1 rounded-full text-xs inline-block">
|
| 136 |
+
Unlock at Level 10
|
| 137 |
+
</div>
|
| 138 |
+
</div>
|
| 139 |
+
|
| 140 |
+
<!-- Evolution 2 -->
|
| 141 |
+
<div class="creature-card bg-gray-900/50 rounded-2xl p-6 text-center relative z-10">
|
| 142 |
+
<img src="http://static.photos/fantasy/200x200/3" alt="Evolution 2" class="w-32 h-32 mx-auto rounded-xl mb-4 border-2 border-yellow-500">
|
| 143 |
+
<h4 class="text-lg font-semibold text-yellow-500 mb-2">Void Walker</h4>
|
| 144 |
+
<p class="text-gray-400 text-sm mb-4">Master of dimensional travel</p>
|
| 145 |
+
<div class="bg-yellow-500/10 text-yellow-500 px-3 py-1 rounded-full text-xs inline-block">
|
| 146 |
+
Unlock at Level 15
|
| 147 |
+
</div>
|
| 148 |
+
</div>
|
| 149 |
+
|
| 150 |
+
<!-- Evolution 3 -->
|
| 151 |
+
<div class="creature-card bg-gray-900/50 rounded-2xl p-6 text-center relative z-10">
|
| 152 |
+
<img src="http://static.photos/fantasy/200x200/4" alt="Evolution 3" class="w-32 h-32 mx-auto rounded-xl mb-4 border-2 border-yellow-500">
|
| 153 |
+
<h4 class="text-lg font-semibold text-yellow-500 mb-2">Shadow Drake</h4>
|
| 154 |
+
<p class="text-gray-400 text-sm mb-4">Mythical dragon of darkness</p>
|
| 155 |
+
<div class="bg-yellow-500/10 text-yellow-500 px-3 py-1 rounded-full text-xs inline-block">
|
| 156 |
+
Unlock at Level 20
|
| 157 |
+
</div>
|
| 158 |
+
</div>
|
| 159 |
+
|
| 160 |
+
<!-- Evolution 4 -->
|
| 161 |
+
<div class="creature-card bg-gray-900/50 rounded-2xl p-6 text-center relative z-10">
|
| 162 |
+
<img src="http://static.photos/fantasy/200x200/5" alt="Evolution 4" class="w-32 h-32 mx-auto rounded-xl mb-4 border-2 border-yellow-500">
|
| 163 |
+
<h4 class="text-lg font-semibold text-yellow-500 mb-2">Abyssal King</h4>
|
| 164 |
+
<p class="text-gray-400 text-sm mb-4">Ruler of the deep darkness</p>
|
| 165 |
+
<div class="bg-yellow-500/10 text-yellow-500 px-3 py-1 rounded-full text-xs inline-block">
|
| 166 |
+
Unlock at Level 25
|
| 167 |
+
</div>
|
| 168 |
+
</div>
|
| 169 |
+
|
| 170 |
+
<!-- Evolution 5 -->
|
| 171 |
+
<div class="creature-card bg-gray-900/50 rounded-2xl p-6 text-center relative z-10">
|
| 172 |
+
<img src="http://static.photos/fantasy/200x200/6" alt="Evolution 5" class="w-32 h-32 mx-auto rounded-xl mb-4 border-2 border-yellow-500">
|
| 173 |
+
<h4 class="text-lg font-semibold text-yellow-500 mb-2">Eclipse Beast</h4>
|
| 174 |
+
<p class="text-gray-400 text-sm mb-4">Legendary creature of celestial power</p>
|
| 175 |
+
<div class="bg-yellow-500/10 text-yellow-500 px-3 py-1 rounded-full text-xs inline-block">
|
| 176 |
+
Unlock at Level 30
|
| 177 |
+
</div>
|
| 178 |
+
</div>
|
| 179 |
+
</div>
|
| 180 |
+
</section>
|
| 181 |
+
|
| 182 |
+
<!-- Taming Section -->
|
| 183 |
+
<section>
|
| 184 |
+
<h2 class="text-3xl font-bold text-yellow-500 mb-8 text-center">Available Creatures to Tame</h2>
|
| 185 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
|
| 186 |
+
<!-- Creature 1 -->
|
| 187 |
+
<div class="creature-card bg-gray-900/50 rounded-2xl p-6 text-center">
|
| 188 |
+
<img src="http://static.photos/fantasy/200x200/7" alt="Creature 1" class="w-32 h-32 mx-auto rounded-xl mb-4 border-2 border-yellow-500">
|
| 189 |
+
<h4 class="text-lg font-semibold text-yellow-500 mb-2">Glowbug</h4>
|
| 190 |
+
<p class="text-gray-400 text-sm mb-4">Tiny light-emitting insect</p>
|
| 191 |
+
<div class="flex justify-center space-x-2">
|
| 192 |
+
<span class="bg-gray-700 text-gray-300 px-2 py-1 rounded-full text-xs">Common</span>
|
| 193 |
+
<span class="bg-blue-500/20 text-blue-400 px-2 py-1 rounded-full text-xs">Light Type</span>
|
| 194 |
+
</div>
|
| 195 |
+
<button class="w-full mt-4 bg-yellow-500 text-black py-2 rounded-lg font-semibold hover:bg-yellow-600 transition duration-200">
|
| 196 |
+
Attempt Tame
|
| 197 |
+
</button>
|
| 198 |
+
</div>
|
| 199 |
+
|
| 200 |
+
<!-- Creature 2 -->
|
| 201 |
+
<div class="creature-card bg-gray-900/50 rounded-2xl p-6 text-center">
|
| 202 |
+
<img src="http://static.photos/fantasy/200x200/8" alt="Creature 2" class="w-32 h-32 mx-auto rounded-xl mb-4 border-2 border-yellow-500">
|
| 203 |
+
<h4 class="text-lg font-semibold text-yellow-500 mb-2">Rock Hopper</h4>
|
| 204 |
+
<p class="text-gray-400 text-sm mb-4">Agile mountain dweller</p>
|
| 205 |
+
<div class="flex justify-center space-x-2">
|
| 206 |
+
<span class="bg-gray-700 text-gray-300 px-2 py-1 rounded-full text-xs">Uncommon</span>
|
| 207 |
+
<span class="bg-green-500/20 text-green-400 px-2 py-1 rounded-full text-xs">Earth Type</span>
|
| 208 |
+
</div>
|
| 209 |
+
<button class="w-full mt-4 bg-yellow-500 text-black py-2 rounded-lg font-semibold hover:bg-yellow-600 transition duration-200">
|
| 210 |
+
Attempt Tame
|
| 211 |
+
</button>
|
| 212 |
+
</div>
|
| 213 |
+
|
| 214 |
+
<!-- Creature 3 -->
|
| 215 |
+
<div class="creature-card bg-gray-900/50 rounded-2xl p-6 text-center">
|
| 216 |
+
<img src="http://static.photos/fantasy/200x200/9" alt="Creature 3" class="w-32 h-32 mx-auto rounded-xl mb-4 border-2 border-yellow-500">
|
| 217 |
+
<h4 class="text-lg font-semibold text-yellow-500 mb-2">Spark Wing</h4>
|
| 218 |
+
<p class="text-gray-400 text-sm mb-4">Electric avian creature</p>
|
| 219 |
+
<div class="flex justify-center space-x-2">
|
| 220 |
+
<span class="bg-purple-500/20 text-purple-400 px-2 py-1 rounded-full text-xs">Rare</span>
|
| 221 |
+
<span class="bg-yellow-500/20 text-yellow-400 px-2 py-1 rounded-full text-xs">Electric Type</span>
|
| 222 |
+
</div>
|
| 223 |
+
<button class="w-full mt-4 bg-yellow-500 text-black py-2 rounded-lg font-semibold hover:bg-yellow-600 transition duration-200">
|
| 224 |
+
Attempt Tame
|
| 225 |
+
</button>
|
| 226 |
+
</div>
|
| 227 |
+
</div>
|
| 228 |
+
</section>
|
| 229 |
+
</main>
|
| 230 |
+
|
| 231 |
+
<!-- Footer -->
|
| 232 |
+
<footer class="bg-black border-t border-yellow-500/20 mt-16">
|
| 233 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
|
| 234 |
+
<div class="flex flex-col md:flex-row justify-between items-center">
|
| 235 |
+
<div class="flex items-center mb-4 md:mb-0">
|
| 236 |
+
<i data-feather="zap" class="text-yellow-500 w-6 h-6"></i>
|
| 237 |
+
<span class="ml-2 text-lg font-bold text-yellow-500">CreatureVerse</span>
|
| 238 |
+
</div>
|
| 239 |
+
<div class="flex space-x-6">
|
| 240 |
+
<a href="#" class="text-gray-400 hover:text-yellow-500">About</a>
|
| 241 |
+
<a href="#" class="text-gray-400 hover:text-yellow-500">FAQ</a>
|
| 242 |
+
<a href="#" class="text-gray-400 hover:text-yellow-500">Contact</a>
|
| 243 |
+
<a href="#" class="text-gray-400 hover:text-yellow-500">Terms</a>
|
| 244 |
+
</div>
|
| 245 |
+
</div>
|
| 246 |
+
<div class="mt-4 text-center text-gray-500 text-sm">
|
| 247 |
+
© 2024 CreatureVerse Evolution. All rights reserved.
|
| 248 |
+
</div>
|
| 249 |
+
</div>
|
| 250 |
+
</footer>
|
| 251 |
+
|
| 252 |
+
<script>
|
| 253 |
+
// Initialize feather icons
|
| 254 |
+
feather.replace();
|
| 255 |
+
|
| 256 |
+
// Add hover animations to creature cards
|
| 257 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 258 |
+
const cards = document.querySelectorAll('.creature-card');
|
| 259 |
+
|
| 260 |
+
cards.forEach(card => {
|
| 261 |
+
card.addEventListener('mouseenter', function() {
|
| 262 |
+
anime({
|
| 263 |
+
targets: this,
|
| 264 |
+
scale: 1.02,
|
| 265 |
+
duration: 300,
|
| 266 |
+
easing: 'easeOutCubic'
|
| 267 |
+
});
|
| 268 |
+
});
|
| 269 |
+
|
| 270 |
+
card.addEventListener('mouseleave', function() {
|
| 271 |
+
anime({
|
| 272 |
+
targets: this,
|
| 273 |
+
scale: 1,
|
| 274 |
+
duration: 300,
|
| 275 |
+
easing: 'easeOutCubic'
|
| 276 |
+
});
|
| 277 |
+
});
|
| 278 |
+
});
|
| 279 |
+
});
|
| 280 |
+
</script>
|
| 281 |
+
</body>
|
| 282 |
</html>
|