From 5a9d29a4ad6fc7a6ccc6a75fa361a20048a77552 Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Wed, 2 Mar 2022 16:49:14 +1100
Subject: Install tailwindcss

---
 src/App.vue | 19 +++----------------
 1 file changed, 3 insertions(+), 16 deletions(-)

(limited to 'src/App.vue')

diff --git a/src/App.vue b/src/App.vue
index 0456388..10537d6 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -11,25 +11,12 @@ export default {
 </script>
 
 <template>
-	<div id="grid">
+	<div class="bg-black flex flex-row flex-wrap justify-center">
 		<img v-for="tile in tiles" :src="'/src/assets/' + tile.name + '.jpg'" :alt="tile.name" :id="tile.name"
-			@click="$event.target.style.transform = 'translate(20%,30%)'"/>
+			@click="$event.target.style.transform = 'translate(20%,30%)'"
+			class="m-1 flex-auto transition-transform duration-300"/>
 	</div>
 </template>
 
 <style>
-#app {
-	background-color: black;
-}
-#grid {
-	display: flex;
-	flex-flow: row wrap;
-	justify-content: center;
-}
-img {
-	margin: 5px;
-	flex: auto;
-	transition: transform 1s;
-	max-width: 100%;
-}
 </style>
-- 
cgit v1.2.3

