-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
17 lines (17 loc) · 1.25 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite App</title>
</head>
<body>
<div id="app" class="flex flex-col min-h-screen bg-slate-900 text-white pt-40 pb-40 items-center gap-20">
<button class="border border-white border-solid px-8 py-3 cursor-pointer duration-300 hover:opacity-30 hover:scale-90">CLICK ME!</button>
<button class="duration-300 cursor-pointer relative overflow-hidden after:h-[1px] after:w-full after:bottom-0 after:right-full after:bg-white after:absolute hover:after:translate-x-full after:duration-300">CLICK ME!</button>
<button class="px-8 py-3 relative before:absolute before:w-2/3 before:h-2/3 before:top-0 before:left-0 before:border-t before:border-l before:border-white before:border-solid after:absolute after:w-2/3 after:h-2/3 after:right-0 after:bottom-0 after:border-b after:border-r after:border-white after:border-solid hover:after:w-full hover:after:h-full hover:before:w-full hover:before:h-full before:duration-300 after:duration-300">CLICK ME!</button>
</div>
<script type="module" src="/main.js"></script>
</body>
</html>