summaryrefslogtreecommitdiff
path: root/examples/with-tailwindcss/src/pages
diff options
context:
space:
mode:
Diffstat (limited to 'examples/with-tailwindcss/src/pages')
-rw-r--r--examples/with-tailwindcss/src/pages/index.astro5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/with-tailwindcss/src/pages/index.astro b/examples/with-tailwindcss/src/pages/index.astro
index ba346e6c2..743653a95 100644
--- a/examples/with-tailwindcss/src/pages/index.astro
+++ b/examples/with-tailwindcss/src/pages/index.astro
@@ -1,7 +1,6 @@
---
// Component Imports
import Button from '../components/Button.astro';
-import '../styles/global.css';
// Full Astro Component Syntax:
// https://docs.astro.build/core-concepts/astro-components/
@@ -15,6 +14,8 @@ import '../styles/global.css';
</head>
<body>
- <Button>I’m a Tailwind Button!</Button>
+ <div class="grid place-items-center h-screen">
+ <Button>Click Me!</Button>
+ </div>
</body>
</html>