I centered a div
This commit is contained in:
parent
7909244e95
commit
0738579074
2 changed files with 6 additions and 3 deletions
|
|
@ -26,7 +26,7 @@ const { title } = Astro.props;
|
||||||
<title>{title}</title>
|
<title>{title}</title>
|
||||||
<ViewTransitions />
|
<ViewTransitions />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body class="h-full">
|
||||||
<Header />
|
<Header />
|
||||||
<slot />
|
<slot />
|
||||||
<div
|
<div
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,9 @@ export function getStaticPaths() {
|
||||||
---
|
---
|
||||||
|
|
||||||
<Layout title="Welcome to Astro.">
|
<Layout title="Welcome to Astro.">
|
||||||
<p>The services</p>
|
<div
|
||||||
<p id="">Mobile Navvy</p>
|
class="flex flex-wrap mt-16 justify-center content-center w-full fixed inset-0 h-[calc(100%-4rem)] z-0"
|
||||||
|
>
|
||||||
|
Centered
|
||||||
|
</div>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue