Skip to content

Instantly share code, notes, and snippets.

@Fanna1119
Last active January 13, 2021 07:04
Show Gist options
  • Save Fanna1119/25711b6dfd7582386f79d225f934675f to your computer and use it in GitHub Desktop.
Save Fanna1119/25711b6dfd7582386f79d225f934675f to your computer and use it in GitHub Desktop.
<template>
<main class="hero-full">
<div class="text-center text-6xl font-bold text-white hero-body">
<router-view />
<Footer />
</div>
</main>
</template>
main {
display: block;
}
.hero-full {
@apply w-full h-full flex items-center justify-center flex-wrap px-4 py-10 text-center text-gray-700 dark:text-gray-200;
}
.hero-foot {
@apply flex-1 items-center justify-items-center flex;
flex-basis: 100%;
}
.hero-body {
@apply flex-1 flex-grow flex-shrink-0 px-4;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment